I need to manage long running TCP socket connections to an external server from my Java application. I'm looking for a good socket pool so I will be able to re-use the sockets.
There is another solution than org.apache.commons.pool2 ?
Here are some object pool implementations you may try:

I suggest you to benchmark the object pool implementations in order to find the most appropriate one for your project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With