BLOG > Programming

Asynchronous Callback and Recursion - Solving Multiple Web Requests Problem


Posted on March 15, 2012 02:22 pm | by Krissada Dechokul
Asynchronous Callback and Recursion - Solving Multiple Web Requests Problem

There are times when you have to write a program to request a lot of web-services simultaneously. Multiple of those web-service calls usually ends up “timed out”. That’s because whenever a web-service call is pending, a timer is set to that connection for some period of time before the timer expires or “timed out” due to receiving no replies from the servers. This is the default behavior of any web-browser to deal with the server crashes problem or the network connectivity issue, so that the client can take recovery action rather than infinitely waiting for the server.

Read More