I'm trying to figure out where to place servers that use HTTP calls to another server for retrieving results. I cannot seem to locate any definition of HTTP that defines the maximum response time although I have a vague recollection of 1800ms.
Does anyone know where this is defined, or even have a relatively authoritative source for a latency time?
Best Answer
No RFC seem wrote for that ! but there is some default value from major web server.
IIS: connectionTimeout;
The HTTP.sys Timer_EntityBody timer expired. The connection expired before the request entity body arrived. When it is clear that a request has an entity body, the HTTP API turns on the Timer_EntityBody timer. Initially, the limit of this timer is set to the connectionTimeout value. Each time another data indication is received on this request, the HTTP API resets the timer to give the connection more minutes as specified in the connectionTimeout attribute.
Apache
Default: header=20-40,MinRate=500 body=20,MinRate=500
Edited:
If you mean on the client side; then it's something coded in. As per the select's function; the read buffer can return in those cases:
That mean between select's call, as long the remote connection is not dropped, the select will return nothing and will wait until a value you define to close yourselft the connection on the client side.