You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2009/11/13 11:42:31 UTC

Re: jakartacommons-httpclient-3.x: 3 seconds additional latency in response times

Amit M Bhosle wrote:
> Hi:
> 
> occasionally, the response sent by my server arrives at my client after a
> delay of 3 seconds! the delay occurs only occasionally (e.g., 1 in few 100
> or so requests is impacted).
> 
> I've verified that there's no delay in setting up the connection, and the
> request from the client reaching the server, but the response gets delayed
> for whatever reason. someone pointed me to the TCP 3-way handshake which
> includes the SYN retry (which has a default retry after 3 seconds), and the
> TCP handshake is executed both at connection setup and tear-down stages. but
> I'm not sure if the connection tear-down is blocking for the communication.
> 
> I'm considering moving to persistent connections for other reasons too, but
> that would not help if the tear-down is non-blocking.
> 
> my client uses JakartaCommons-httpclient-3.0.1 , and was wondering if
> there's any known issue with this version.
> 
> any insights/pointers would be appreciated.
> 
> thanks
> AB
> 

I am nor aware of reports of this kind of problem by other users. 
Regardless, you should consider upgrading to version 4.0

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org