开发者

Connection pooling in Netty

I'm trying t开发者_如何学运维o build a reverse proxy with Netty, and I'd like to keep a pool of open sockets to the backend servers, instead of every incoming socket requiring a new socket from the reverse proxy to a backend server.

Can you do this with Netty? How?

Thanks for any help


Ok, answering my own question, there is a nice example how to do this in the LittleProxy source code. In particular, in HttpRequestHandler.java, follow the usage of endpointsToChannelFutures.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜