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

Multithreaded UDP socket reading, reuseport for improved performance? #12

Open
Dieterbe opened this issue Jun 18, 2015 · 5 comments
Open

Comments

@Dieterbe
Copy link

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/

@tehlers320
Copy link

statsd-proxy has REUSE https://github.com/hit9/statsd-proxy i drop less metrics with statsd-proxy + 4x nodejs pids than with statsdaemon latest.

@tehlers320
Copy link

tehlers320 commented Jan 26, 2017

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.

10:30 is when cutover occurs for a short test.
udpdroprate

@tehlers320
Copy link

@Dieterbe
Copy link
Author

Nice !

@vbichov
Copy link

vbichov commented Sep 1, 2019

any plans to implement this feature?

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

3 participants