问题
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?
回答1:
You could have a look at building a socket pool on top of Commons Pool.
回答2:
Koders.com has an implementation here. I can't vouch for it's functionality, however, so you should run a few tests on it.
来源:https://stackoverflow.com/questions/938784/good-client-socket-pool