Skip to content

Commit

Permalink
spectator-go adjust timing advice (#185)
Browse files Browse the repository at this point in the history
Given that high-resolution streaming is gaining more usage, we should only
recommend publishing according to the spectatord publish interval.
  • Loading branch information
copperlight authored Sep 4, 2024
1 parent 763bf56 commit 3d93ba3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/spectator/lang/go/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ collection.
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.
This will keep the CPU usage related to `spectator-go` and `spectatord` low (around 1% or less), as
compared to up to 40% for high-volume scenarios.
closer to the `spectatord` publish interval of 5 seconds. This will keep the CPU usage related to
`spectator-go` and `spectatord` low (around 1% or less), as compared to up to 40% for high-volume
scenarios.

0 comments on commit 3d93ba3

Please sign in to comment.