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

Batch writes for monitor service (1.3 backport) #8720

Merged
merged 3 commits into from
Aug 18, 2017
Merged

Conversation

joelegasse
Copy link
Contributor

@joelegasse joelegasse commented Aug 18, 2017

This is a backport of #8711, I also had to bring in the writePoints method that was extracted out in the monitor service of a much larger change.

Required for all non-trivial PRs
  • Rebased/mergable
  • Tests pass
  • CHANGELOG.md updated

joelegasse and others added 3 commits August 18, 2017 09:28
The monitor service was writing one big batch for all stats.  If this
batch was large, it causes some slower and more expensive write paths
to be taken that incur a lot of memory allocations.  This changes the
monitor service to write in batches of up to 5000 points which should
avoid the slower paths.
Copy link
Contributor

@stuartcarnie stuartcarnie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@stuartcarnie stuartcarnie merged commit 6c55c98 into 1.3 Aug 18, 2017
@stuartcarnie stuartcarnie deleted the monitor-batch-1.3 branch August 18, 2017 14:51
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