boostorg / mysql

MySQL C++ client based on Boost.Asio
https://www.boost.org/doc/libs/master/libs/mysql
Boost Software License 1.0
253 stars 32 forks source link

Disable Naggle's algorithm for TCP connections #277

Closed anarthal closed 3 months ago

anarthal commented 4 months ago

181 can be avoided by setting tcp_nodelay on the underlying socket. While this is a little bit cumbersome in the general case, it's trivial for any_connection. It can be relevant to avoid pitfalls when running pipelines (#75).