~/talk

10x CouchDB Performance Gains for a AAA Game Launch

Talkat Berlin Buzzwords 2026 · 2026-06-07..06-09· [databases, devops-and-delivery]
slides:none on file

Benchmarks using Apache Bench and iPerf reveal a 1 Gbps AWS networking cap and huge latency spikes for concurrent view queries. Changes: enable higher AWS networking, double MochiWeb acceptor pool from 16 to 32, increase Erlang internal buffers (60 MB message buffers and 4 MB socket buffers), and validate with curl --trace-time, ss, Recon and msacc. Result: DBs info header latency drops from ~100 ms to ~12 ms, response body from ~1.2 s to ~0.5–1 s, throughput rises from ~6k req/s to 25k sustained and up to 60k in some configs.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:54Customer challenge and goals
  3. 4:24Benchmarking reality check
  4. 7:14How CouchDB sharding works
  5. 10:21Cluster request handling
  6. 13:11Network bottleneck discovery
  7. 14:35Benchmarking methodology
  8. 16:20Focusing on view requests
  9. 17:03Disk IO analysis
  10. 18:24Erlang process insights
  11. 20:29Measuring message queues
  12. 23:20CPU and RAM evaluation
  13. 23:41HTTP request tracing
  14. 25:29CouchDB layer cake
  15. 26:33Curl trace time analysis
  16. 29:02DBs info endpoint deep dive
  17. 30:25Config API bottleneck validation
  18. 30:47TCP backlog and acceptor pool
  19. 32:55Benchmarking best practices
  20. 34:17Testing TCP acceptor pool changes
  21. 35:21CPU scheduler analysis
  22. 38:12Erlang network tuning
  23. 39:59Final performance results
  24. 41:47Key learnings summary
~/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.