title: Java - AsyncHttpClient - Fire and Forget
body: <p>I have a use-case where I need to make thousands of HTTP Get requests in Fire and Forget mode.</p>
  <p>I am using aync-http-client &lt; <a href="https://github.com/AsyncHttpClient/async-http-client" rel="nofollow noreferrer">https://github.com/AsyncHttpClient/async-http-client</a> &gt; to achieve this.</p>
  <blockquote>
  <p>async-http-client: 2.5.4</p>
  <p>Java 11</p>
  </blockquote>
  <p>I am using below config for <code>DefaultAsyncHttpClientConfig.Builder</code>:</p>
  <ol>
  <li><code>setMaxConnections(10000)</code></li>
  <li><code>setIoThread(6)</code></li>
  <li><code>setKeepAlive(true)</code></li>
  </ol>
  <p>HTTP Get response time: p99 = 500ms</p>
  <p>I am getting 20k rps (outgoing) with above config and http get response time.</p>
  <p>I have not explicitly added any timeouts.</p>
  <p>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 connection to the pool for others to use.</p>
  <p>Is there any other recommended way for achieving Fire and Forget using async-http-client ?</p>
  <p>Thanks.</p>