Using a larger send_buffer can reduce the number of calls to sock.sendBytes, improving performance, but it will also use more memory. Therefore, we should add a configuration option to support modifying the send_buffer size for different scenarios.
Describe your idea