Skip to content

Commit a6718fc

Browse files
authored
add spectator-go performance numbers
1 parent a463cd8 commit a6718fc

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/spectator/lang/go/usage.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,3 +300,18 @@ func TestParseProtocolLineWithValidInput(t *testing.T) {
300300
```
301301

302302
[SpectatorD]: ../../agent/usage.md
303+
304+
## Performance
305+
306+
On an `m5d.2xlarge` EC2 instance, with `Go 1.24.3` and `github.com/Netflix/spectator-go/v2 v2.0.13`, we
307+
have observed the following single-threaded performance numbers across a two-minute test window:
308+
309+
* 135,771 requests/second over `udp`
310+
* 206,641 requests/second over `unix`
311+
312+
The benchmark incremented a single counter with two tags in a tight loop, to simulate real-world tag
313+
usage, and the rate-per-second observed on the corresponding Atlas graph matched. The protocol line
314+
was `74` characters in length.
315+
316+
The Go process CPU usage was ~112% and the `spectatord` process CPU usage was ~62% on this 8 vCPU
317+
system, for `udp`. It was ~113% and ~85%, respectively, for `unix`.

0 commit comments

Comments
 (0)