Scaling
One 4-vCPU Traces writer sustains 28,400 spans/s, about 14 MiB/s.
Sizing
| Writer | Plan each writer at |
|---|---|
| 4 vCPU, 6Gi | 21,000 spans/s |
| 2 vCPU, not validated | at most 12,000 spans/s |
text
writers = ceil(peak spans/s / 28,400 / 0.75)yaml
spec:
writer:
replicas: 5
resources:
requests: { cpu: "4", memory: 6Gi }
limits: { cpu: "4", memory: 6Gi }- Each writer owns one shard. Add writers, not cores: 6 vCPU sustains no more than 4.
- Set requests equal to limits. Memory must be at least 6 GiB; peak RSS in the test was 2.2 GiB.
- Scale out on
429s or memory above 65% of the limit, not CPU.
Measured capacity
Fig. — One Traces writer by CPU limit
2 vCPUnone passed at ≥ 17,300
knee 28,200
4 vCPU28,400 spans/s
knee 39,400
6 vCPU26,800 spans/s
knee 43,700
| Writer | Validated | Knee | p99 | Mean CPU | Peak RSS |
|---|---|---|---|---|---|
| 2 vCPU / 8 GiB | — | 28,200 | — | 1.4 | 1.1 GiB |
| 4 vCPU / 12 GiB | 28,400, 14 MiB/s | 39,400 | 38 ms | 2.4 | 1.5 GiB |
| 6 vCPU / 16 GiB | 26,800, 13 MiB/s | 43,700 | 25 ms | 3.7 | 1.9 GiB |
- Workload: OTLP/HTTP protobuf, 2,000 spans per request, 5 spans per trace, about 512 bytes per span.
- Environment:
m8i.2xlarge,us-east-2, S3 Standard, 64 concurrent connections. - Validated: 10-minute soak with under 0.1% of requests rejected and p99 under 1 s.
- Knee: the highest rate in a 15-minute ramp with under 2% of requests rejected and p99 under 1 s.