-
Notifications
You must be signed in to change notification settings - Fork 30
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
Multithreaded UDP socket reading, reuseport for improved performance? #12
Comments
statsd-proxy has REUSE https://github.com/hit9/statsd-proxy i drop less metrics with statsd-proxy + 4x nodejs pids than with statsdaemon latest. |
Here is some data on statsd-proxy vs going straight into statsdaemon. The droprate doubles once switching from statsd-proxy -> 4 classic statsd pids to statsdaemon. |
golang/go#23696 It looks like go 1.11 will make this possible soon. |
Nice ! |
any plans to implement this feature? |
Currently reading from udp socket is slow (golang udp lib not very optimized) and can saturate a CPU core.
Should look into multithreaded udp reading and also reuseport. See https://lwn.net/Articles/542629/
The text was updated successfully, but these errors were encountered: