valyala / Tcplisten
Licence: mit
Customizable TCP net.Listener for Go
Stars: ✭ 118
Programming Languages
go
31211 projects - #10 most used programming language
Package tcplisten provides customizable TCP net.Listener with various performance-related options:
-
SO_REUSEPORT. This option allows linear scaling server performance on multi-CPU servers. See https://www.nginx.com/blog/socket-sharding-nginx-release-1-9-1/ for details.
-
TCP_DEFER_ACCEPT. This option expects the server reads from the accepted connection before writing to them.
-
TCP_FASTOPEN. See https://lwn.net/Articles/508865/ for details.
The package is derived from go_reuseport.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].