-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Statsd - UDP - Data Loss - #245
Comments
UDP was chosen because of its fire and forget characteristic. Chances are that you are sending enough data that losing a small amount of packets doesn't make a real difference. At least not enough to justify the overhead of connection init and closing for a small data payload. And packet loss hasn't really been a problem for us so far. Do you see a lot of packet loss? Can you share any numbers about the system? |
Hello Daniel, Thanks for reply. Regards From: Daniel Schauenberg notifications@github.com UDP was chosen because of its fire and forget characteristic. Chances are that Do you see a lot of packet loss? Can you share any numbers about the system? |
Hey @RajanBhatt Best of luck. |
Because this comes up in searches, I thought I might chime in here -- we're definitely seeing packet loss happen. This isn't statsd's fault, but just the quirk of how UDP and a very busy network box operates, but it's something people do need to keep an eye out for: The top graph has three reported stats: the green value from across our entire cluster, and the other two as part of a background job. When we check via database metric lookup, these numbers line up. In graphite, they do not. The reason is that the second two metrics are only generated from 2 background worker machines which get swamped with other network traffic during the blue line peaks (heavy background job time period). When those heavy background jobs are running, they are generating a ton of network requests and, I believe, drowning out the UDP for the two metrics from the top graph. |
Thanks Chao. Appreciate it.Let me check it out Regards Rajan Bhatt
cc https://github.com/hit9/statsd-proxy— |
@RajanBhatt 😄 We meet the same problem, and we are now using this statsd-proxy. Maybe you also want to checkout the following projects: |
Your are kind...Let me check out and thanks again for brubeck link...Keep in touch Regards Rajan Bhatt
@RajanBhatt We meet the same problem, and we are now using this statsd-proxy.Maybe you also want to checkout the following projects:
|
Hello,
I would be inclined to know data loss observed in data center using Statsd which is a UDP based. What decision rationale was used leveraging UDP instead of TCP ?
Has anybody observed significant data loss in data center using Statsd ?
Any suggestion and thought on these issue is highly appreciated,
Thanks
Rajan
The text was updated successfully, but these errors were encountered: