Java - AsyncHttpClient - Fire and Forget

I have a use-case where I need to make thousands of HTTP Get requests in Fire and Forget mode.

I am using aync-http-client < > to achieve this.

async-http-client: 2.5.4

Java 11

I am using below config for DefaultAsyncHttpClientConfig.Builder:




HTTP Get response time: p99 = 500ms

I am getting 20k rps (outgoing) with above config and http get response time.

I have not explicitly added any timeouts.

Now I want to understand whether adding a readTimeOut of 100ms will result in increase of rps numbers. Assumption being after 100ms of timeout, async-http-client will release the...

Read More »

By: StackOverFlow - Tuesday, 20 November

Related Posts