~/talk

The Quest for Speed: Journey to 50% Better P99 Times with Go

Talkat GopherCon UK 2025 · 2025-08-13..08-15· [web-performance, observability]
links:none on file
slides:none on file

Claim: P99 latency drops by ~50% (to ~45ms P99 then lower) across millions of holiday searches while cutting inter‑zonal egress by ~£100/day. Implementation: add Zstd compression middleware (initial CPU spike raises latency), then eliminate allocations by reusing zstd.Writer with a sync.Pool for zstd.Writer, replace generic JSON encoder with a bespoke byte‑buffer pool that runs ~3× faster, migrate workloads to ARM C4A, and set GOMAXPROCS low (≈2) to shave another ~10% — all measured with pprof, benchmarks and production replay.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25System architecture
  3. 3:30Identifying the problem
  4. 5:07Zstd compression impact
  5. 6:15Observability and profiling
  6. 8:44Zstd optimization
  7. 14:46Sync pool implementation
  8. 19:14Batching request changes
  9. 24:03Hardware migration to ARM
  10. 28:47GOMAXPROCS adjustment
  11. 36:00Conclusion
  12. 39:08Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.