hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Timings
Date Sat, 10 Oct 2015 10:27:25 GMT
On Thu, 2015-10-08 at 17:03 -0600, Graeme Wallace wrote:
> I'm using http async components.
> 
> Lets say i have a host that can accept up to X connections only.
> 
> Under load, i would expect some requests to block before they get sent.
> 
> Is there a way to see how long that block takes ? i.e. how long it takes
> before its sent, not before a response comes back.
> 

You can measure the time between the request submission and the call to
HttpAsyncRequestProducer#generateRequest

http://hc.apache.org/httpcomponents-core-4.4.x/httpcore-nio/xref/org/apache/http/nio/protocol/HttpAsyncRequestProducer.html#71

Hope this helps

Oleg


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


Mime
View raw message