Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Problems with big UDP packet #19

Open
Sytten opened this issue Nov 24, 2016 · 0 comments
Open

Problems with big UDP packet #19

Sytten opened this issue Nov 24, 2016 · 0 comments

Comments

@Sytten
Copy link

Sytten commented Nov 24, 2016

This project is probably not maintained anymore, but I though it would be a good idea to write somewhere the trouble I encountered with it (also applicable to the forks who have not changed this behavior).

The UDP sender used by the reporter tries to send all data in the same UDP packet.
When you have only a couple of metrics its fine, but when you start to have hundreds of them it becomes problematic.
First, the packet is fragmented which by itself is bad in UDP.
Second, the packet isn't always processed entirely by statsd. We use hosted graphite, so I don't really know where the problem lies (buffer too small, bad packet reconstruction??), but if you are missing data them I highly suggest you split the data upfront using a wrapper around the reporter.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant