Re: Asynchronous calls to a web service - 100,000 a minute

Tech-Archive recommends: Speed Up your PC by fixing your registry



How often does the data in the table change? Even if the clients poll once
a minute would they be getting new results each time?

I ask because it may be worth your while to make a "proxy web service".
Once that your clients can call, which would in turn call the real web
service but cache the data for 1 or so minutes. Only when the cache expires
would the proxy web service actually call the real web service and update
the cache. That way the real web service only gets called 1 time every
minute and there's only a database hit 1 time every minute. Your proxy web
service would get hit a lot but 99% of the time it would be dishing out
cached data, making it able to serve more hits. The bottle neck now becomes
your proxy web service, but if you found the load on that web service was
too high, you could put it on more than one server, splitting the load up.


<kebalex@xxxxxxxxx> wrote in message
news:1190969455.012459.52310@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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 requests and i'm thinking
each
request 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



.



Relevant Pages

  • Re: Do Web services have a lease time?
    ... After a certain point in time, all requests to it get "The operation ... It's obviously not the web service that stops responding, it's the client that stops working. ... It's as if the Web service expires some kind of lease for the IIS ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Implementing a common SOAP Header across multiple Web Service Pages
    ... to set a client up to reference multiple Web ... the Web Service site would ... Your point about leaving the ASMX page as lean as possible and acting just ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Implementing a common SOAP Header across multiple Web Service Pages
    ... between my Web Service application and the client. ... public string SID; ... Web Service page, rather than to a dozen or so separate Web Service pages ... You can easily create a .ASMX file ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Do Web services have a lease time?
    ... all requests to it get "The operation has ... fine (the browser, after all, is a new client to the Web service). ... It's as if the Web service expires some kind of lease for the IIS ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Still Need desperate help to start with ASP NET - simplified problems - HELP!!
    ... You could do it as a web service. ... The handler can draw on the webservice for information and db lookup. ... IE posts data AJAX to handler on web server ... featured application (say thick client) which does a lot of complicate ...
    (microsoft.public.dotnet.framework.aspnet)