Skip to content

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.


Merge request reports