title: Vert Http Client max connection pooling? Is this pool per endpoint or in total?
body: <p>I am using vertx web client (3.8.5) for api-gateway and setting setMaxPoolSize to 20. Is this limit per endpoint or in total across all endpoints?</p>
  <p>I am deploying my application with 36 verticles and 1 web client per verticle, which makes 36 web clients in total and my application needs to connect to more than 1000 different ip:port.
  Now, to use the benefit of connection pooling, if the above limit is on total connections, I need to setMaxPoolSize &gt;= 1000 which makes overall connections from the application equal to 1000 * 36 &gt;= 36000. <strong>What are the advisable settings for the above use case?</strong></p>
  <p>If I set maxPoolSize = 20 and none of them has expired (expiry time = 60s) and only let's say 10 of them are being used, what happens when the request comes for ip:port which isn't in pool. <strong>Does it get queued or one of the unused connection is disconnected and a new connection (for the new ip:port) is established?</strong></p>
  <p><strong>What should be my client configuration for api-gateway to handle multiple concurrent requests for different ip:port?</strong></p>
  <p>Thanks,
  Nitish</p>