-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add buffered transport #13
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Buffered transport, in general, reduces the number of packets that should be sent over the network because it may join many small writes to the network layer to a single big write operation. As a result, we will get better network performance in some cases.
The main important case where buffered transport will help a lot is using data compression. The compression layer generates many small writes to the network layer to send headers, checksums and so on and it ends up in many additional network packets. So buffered layer will join all those additional packets in a single one in most cases.
The text was updated successfully, but these errors were encountered: