Skip to content
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

Closed
vykulakov opened this issue Dec 21, 2019 · 0 comments
Closed

Add buffered transport #13

vykulakov opened this issue Dec 21, 2019 · 0 comments
Assignees

Comments

@vykulakov
Copy link
Collaborator

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.

@vykulakov vykulakov self-assigned this Dec 21, 2019
vykulakov pushed a commit that referenced this issue Dec 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant