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: [email protected] For additional commands, e-mail: [email protected]
