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

spectator-go design considerations #184

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

copperlight
Copy link
Contributor

Add advice for reporting intervals for high-volume operations.

Add advice for reporting intervals for high-volume operations.
@copperlight copperlight merged commit 763bf56 into Netflix:main Sep 4, 2024
1 check passed
@copperlight copperlight deleted the spectator-go-design-advice branch September 4, 2024 18:12
This client is stateless, and sends a UDP packet (or unixgram) to `spectatord` each time a meter is
updated. If you are performing high-volume operations, on the order of tens-of-thousands or millions
of operations per second, then you should pre-aggregate your metrics and report them at a cadence
closer to the `spectatord` publish interval of 5 seconds, or the Atlas metrics granularity of 1 minute.
Copy link
Contributor

Choose a reason for hiding this comment

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

Given that high resolution streaming is gaining more usage, I would omit the 1m part and just advise to batch and send every ~5s.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Batching as a feature is not yet available in spectator-go, but it will be added before the end of the quarter.

Good point on the timing aspect, though!

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.

2 participants