-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(transport): Enable TCP_NODELAY. (#120)
The combination of the Nagle algorithm on a client, and delayed ack on a server can introduce up to 200ms latency if a small gRPC messages is sent with multiple writes. Enable TCP_NODELAY to make sure that neither client, nor server buffer their messages for too long when exchaning small requests.
- Loading branch information
1 parent
23f648b
commit 0299509
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters