Vertx multiple ssl connections in parallel over event loop
07:10 10 Aug 2026

I am using vertx with native transport and want to create 256 parallel ssl connections. I am using boringssl and OpensslEngine options with worker as false. The req response after ssl is done is 2-3 ms. The DNS and ssl handshake is taking upto 500-1ms. The ping is 1-2 ms. I am running it in docker container with 2 cpu and 4 gb ram with eventloop size of 4. How can I reduce the time it takes to do ssl handshake over event loop? For dns resolution I think address resolver should help but TCP connection and ssl handshake are the one taking most amount of time while using httpclient and vertx 5.1.6

vert.x vertx-httpclient