feat(pgproto): enable TCP_NODELAY for pgproto clients
Summary
- feat(pgproto): enable TCP_NODELAY for pgproto clients
This commit resolves the performance issues observed in pgbench benchmark*. Because of the Nagle's algorithm, every message was read with 50ms delay, while the query execution took only 1ms. By disabling the algorithm via TCP_NODELAY option, we achieve 50 times performance improvement for a single client in simple query mode.
- Close #1002 (closed)
- Cherry-pick to: none
- Docs follow-up: not necessary / new issue