I have a very simple server/client performance test using boost::asio on Windows and it seems to be performing really poorly. I\'m hoping that I\'m just using the library incor
For my purposes, sending really really small messages and wanting virtual real time replies, disabling Nagle's algorithm turned out to be the cause of the poor performance.
You must turn off the Nagle algorithm. Call:
m_socket.set_option(tcp::no_delay(true));
Where appropriate for your code.