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

Reducing buffer size to 1400 #17

Merged
merged 1 commit into from
Oct 12, 2016
Merged

Reducing buffer size to 1400 #17

merged 1 commit into from
Oct 12, 2016

Conversation

KotaiVictor
Copy link
Contributor

Were using the NonBlockingStatsDClient to push to a statsD_exporter endpoint that prometheus picks up from.
We've noticed that we were dropping a lot of data, although we were sending it correctly.
Looking into it it seemed to be that the size of the packets was too big.

Given how the message buffer gets filled up; in the case where it was getting close to the 1500 mark, the addition of the ethernet/udp headers was pushing it past the MTU size causing fragmentation.

@masci masci added this to the 2.3 milestone Oct 12, 2016
@masci
Copy link
Contributor

masci commented Oct 12, 2016

Nice catch @KotaiVictor thanks!
Will try to bake a new release before the end of the week.

@didot
Copy link
Contributor

didot commented Jun 16, 2017

Shouldn't the DummyStatsDServer be updated to use a 1400 byte length buffer too?

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

Successfully merging this pull request may close these issues.

3 participants