← buildlogFictional example
we optimised.
@example ↗The request pipeline, with the bottleneck removed.
API latency
↓87.5%
lower API latency
Before184ms
After23ms
p99
1.8ms → 410µs
Throughput
19K/s → 142K/s
Allocations
47 → 0
Performance wins
- 01Removed a redundant database round trip
- 02Reused connections across the request pipeline
- 03Checked the result against the same benchmark
Illustrative measurements from a fictional session.