3

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 ?

Mercer
  • 9,736
  • 30
  • 105
  • 170

1 Answers1

3

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.

Stephan
  • 41,764
  • 65
  • 238
  • 329