Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good Client Socket Pool

Tags:

java

sockets

pool

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. Are there any suggestions?

like image 828
David Rabinowitz Avatar asked Jun 02 '09 10:06

David Rabinowitz


2 Answers

You could have a look at building a socket pool on top of Commons Pool.

like image 104
Mark Avatar answered Nov 01 '22 09:11

Mark


Koders.com has an implementation here. I can't vouch for it's functionality, however, so you should run a few tests on it.

like image 32
Brian Agnew Avatar answered Nov 01 '22 09:11

Brian Agnew