Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / January 2006

Tip: Looking for answers? Try searching our database.

Multiple web service calls from web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
oljeg.popovic@gmail.com - 05 Jan 2006 12:48 GMT
Hello,

I have following scenario.
My web service is receiving package of messages (from 1 to 100) which I
have to distribute to other back-end web services, aggregate responses
and return them to client as one response.
I have read articles on MSDN  At Your Service column but I still have
some doubts:
1. How to implement simultaneous calls to web service and return
aggregated responses?
2. Shall I use my own thread pool?
3. Is this architectural solution acceptable or shall I use total async
approach (MSMQ, Windows services, ..). In pick, I'm expecting about 100
packages (about 1000 messages) per second.
Thanks!

Regards,
Oljeg
Rodrigo García - 09 Jan 2006 09:53 GMT
Hi.

If you have a high load (1000 calls per second) maybe web services will
introduce much overhead inthe system and you should go with a more low-level
solution.
Anyway, the external calls should be made in parallel, I would recommend
implementing your own ThreadPool as it would give you a lot more flexibility.
You will have a great thread overhead and should plan carefully your
multithreaded approach.
If you finally plan on using the basic ThreadPool, have in mind that IIS has
a default limit on the maximum number of concurrent threads that will limit
your performance (see machine.config).

Just my 2p

> Hello,
>
[quoted text clipped - 14 lines]
> Regards,
> Oljeg

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.