netty-socks icon indicating copy to clipboard operation
netty-socks copied to clipboard

TCP_NODELAY and performance.

Open bluenoah1991 opened this issue 3 years ago • 0 comments

https://github.com/hsupu/netty-socks/blob/ddb9a3c15080fca5ed9a8a3f2c24f3eeb2eeb073/src/main/java/cc/xpcas/nettysocks/handler/Socks5CommandRequestHandler.java#L53

This channel acts as a client of the upstream service and is set with TCP_NODELAY. Why do I need to set this option? Is it possible to improve performance?

bluenoah1991 avatar Feb 08 '22 06:02 bluenoah1991