~/talk

Running Low-Latency Workloads on Kubernetes

Talkat KCD New York 2024 · on Wednesday, 2024-05-22· [kubernetes, web-performance]
slides:none on file

Practical playbook for running SpiceDB-style, single-digit-millisecond network services on Kubernetes: shows benchmarks (hit ~1M QPS, P95 ≈5 ms), concrete code and infra tactics — profile hot paths, reuse allocations and use Go pools, tune GC with GOMEMLIMIT env var, serve from memory using tinyLFU cache, de‑duplicate requests with singleflight, use hedging carefully, pin CPUs with the static CPU manager, use taints/tolerations and Carpenter autoscaling, and wire memory limits via the downward API.

AI-written summary · about

  1. 0:00Low-latency systems on Kubernetes
  2. 1:49Low-latency workload requirements
  3. 3:58SpiceDB and its use case
  4. 5:02Designing for understandability and profiling
  5. 6:48Concurrency pitfalls and CPU over-subscription
  6. 7:51Memory management in low-latency systems
  7. 8:33Parallelizing workloads for lower latency
  8. 9:34Hedging and single-flight techniques
  9. 11:00Serving data from memory and pooling
  10. 12:24Go memory limits and GC
  11. 13:07Reusing allocations with object pooling
  12. 14:09Optimizing GC with data structures
  13. 15:14Low-latency workloads on Kubernetes
  14. 16:15Kubernetes defaults and limitations
  15. 17:18Taints, tolerations, and affinity
  16. 18:42Resource requests limits trade-offs
  17. 20:28Context switching and scheduling
  18. 22:37Static CPU manager and autoscaling
  19. 24:45Isolation model for performance
  20. 26:50Q&A on Go memory limits and SpiceDB
~/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.