Use new listener which implements enhanced tcp features (#6289)

This package provide 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.
This commit is contained in:
Harshavardhana
2018-08-17 18:44:02 -07:00
committed by kannappanr
parent 5a4a57700b
commit 50a817e3d3
13 changed files with 420 additions and 11 deletions
+6
View File
@@ -894,6 +894,12 @@
"revision": "ded73eae5db7e7a0ef6f55aace87a2873c5d2b74",
"revisionTime": "2017-01-07T13:32:03Z"
},
{
"checksumSHA1": "R/Mpe0uUp5HeqWrdrH5qE2qZuE8=",
"path": "github.com/valyala/tcplisten",
"revision": "ceec8f93295a060cdb565ec25e4ccf17941dbd55",
"revisionTime": "2016-11-14T21:01:44Z"
},
{
"checksumSHA1": "6ksZHYhLc3yOzTbcWKb3bDENhD4=",
"path": "github.com/xwb1989/sqlparser",