473,586 Members | 2,682 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

100,000 calls a minute to a web service

Hi,

I've got a requirement to poll a web service for data but it needs to
be done very frequently. The web service call is straight forward, it
just returns a simple table of data with no more than 50 rows. It's a
third party web service so i have no control over it. The problem is
each call is on a per user basis and the client said if its succesful
it there could be 100,000 users. The frequency of each call could be
once a minute so that could be 100,000 calls a minute.

I'm designing the client app to make the calls and i'm thinking each
call should be asynchronous but i'm not sure this is enough. I've got
no experience of multi-threaded development so i'm not sure if this
would help (making the requests over many threads).

Also I'm concerned about bottlenecks. If the app I built was capable
of making 100000 requests a minute (possibly at the same time if its
multi-threaded) then would the network handle this load and also could
the web service handle this many requests at once (i know the W3C
recommends only 2 client connections at once so that could be an
issue).

Anyway, any help or thoughts would be much apprecieated.

Thanks,
Alex

Sep 27 '07 #1
3 1727
<ke*****@gmail. comwrote in message
news:11******** **************@ r29g2000hsg.goo glegroups.com.. .
Hi,

I've got a requirement to poll a web service for data but it needs to
be done very frequently. The web service call is straight forward, it
just returns a simple table of data with no more than 50 rows. It's a
third party web service so i have no control over it. The problem is
each call is on a per user basis and the client said if its succesful
it there could be 100,000 users. The frequency of each call could be
once a minute so that could be 100,000 calls a minute.

I'm designing the client app to make the calls and i'm thinking each
call should be asynchronous but i'm not sure this is enough. I've got
no experience of multi-threaded development so i'm not sure if this
would help (making the requests over many threads).

Also I'm concerned about bottlenecks. If the app I built was capable
of making 100000 requests a minute (possibly at the same time if its
multi-threaded) then would the network handle this load and also could
the web service handle this many requests at once (i know the W3C
recommends only 2 client connections at once so that could be an
issue).
This should be possible without making the service asynchronous.

BTW, every web service is a multi-threaded application, and you need to keep
that in mind. Be _extremely_ careful with any static or shared data.

You may want to look at the pattern of the calls to the web service. For
instance, does the data change with every call from a particular user? With
most calls? Only a few times a day? If it doesn't change much, then you may
be able to use caching.

You may also be able to use knowledge of when the data changes. If you are
able to determine that the data have not changed, then you could return a
simpler "no change" response to the client. This would reduce network
traffic.

I understand that you can't change this third-party web service. However, if
it's useful, you could create a web service of your own that then calls the
third-party service. Your web service could perform the optimizations that
the third-party service does not do.
--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer

Sep 27 '07 #2
ke*****@gmail.c om wrote in news:1190896838 .142975.203730
@r29g2000hsg.go oglegroups.com:
Also I'm concerned about bottlenecks. If the app I built was capable
of making 100000 requests a minute (possibly at the same time if its
multi-threaded) then would the network handle this load and also could
the web service handle this many requests at once (i know the W3C
recommends only 2 client connections at once so that could be an
issue).

Anyway, any help or thoughts would be much apprecieated.
Have you talked to the developer of the original web service? If you're
planning 100K users, are they willing to do some customizations for you?

If not, you could build a service on your end - queue up requests for the
100K users. This way you won't swamp the web service?
Sep 30 '07 #3
Yeah i think i'll speak to the developers of the service to see if they can
write some more API's. I don't think they'll be that pleased about me making
so many requests so i'll see what they say.

Thanks for the help,
Alex
Sep 30 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2108
by: Jeff User | last post by:
Hello I have been using Ethereal to capture and view the XML messages being passed back and forth from my web service client to my web service. When calling the service over the internet, I choose my network card connection to the internet in Ethereal and it captures all the traffic back and forth. Problem is that when I call a web...
2
1534
by: ghost | last post by:
As the Subject indicates I have written a web page that makes use of several web service calls. Some of the web service calls are very fast so they called synchronously. Some web service calls are longer running so I call them asynch so that they can all run concurrently. The user base for the application that I am creating demands the...
3
2990
by: shodson | last post by:
I have a web service http://localhost/ServiceA/ProxyService.asmx calls http://localhost/ServiceB/Service.asmx And I get an error in ServiceB's method when it calls Invoke() it craps out and returns
10
2624
by: Brian Parker | last post by:
I inherited a C++ DLL that I need to remotely call multiple times asynchronously. What I have developed is: CSharp web application that makes asynchronous calls to a CSharp Web Service. The Web Service calls the DLL, which does some heavy processing, then sends the results back to the CSharp web application. The problem is that the...
4
3865
by: magennisw | last post by:
Our three tier web application is "pausing" under test loading (IIS 6.0 (win2003) -> Web services (win2003) -> SQL server) . The CPU usage on the W3WP.exe on both the web server and middle tier drops to zero for about 5 seconds then springs back into life. Nothing in the NT event logs. No SQL database blocking. I suspect it is a particular...
4
2582
by: TonyB | last post by:
We are calling a webservice running under SSL with a request that takes quite a while (8-12 mins) to return. This has been running fine on my desktop machine for some time now, but when the code is deployed to the live server, it fails after 300 seconds (5 minutes), with an error message: "System.Net.WebException: The underlying connection...
1
2011
by: intrepid_dw | last post by:
All: I have prepared a .NET 1.1 client application that consumes a remote, public web service. All the functions work as expected, and, in general, the application has been successful for my purposes. I have discovered one bit of behavior that surprises me, however. At certain times, under heavy server-side loads, my calls to certain web...
0
1064
by: JohnV | last post by:
Group, I'm writing a dotnet windows service that will create and maintain a collection of COM components. These components all implement the same interface, and some are written in VC++ 6 and some written in C# (registered for COM interop). Once every minute, the windows service will need to call an "Execute" method on each component in the...
7
4596
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
我们现在遇到一个问题,通过wcf创建的webservice,选择windows service作为宿主,采用java作为客户端调用成功,但是无法使用asp.net ajax调用。 我们参考了http://msdn.microsoft.com/zh-cn/library/bb410780.aspx的资料,并且下载了相应的sample...
0
7912
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8216
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.