K
kebalex
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
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