~/talk

Going CPU Bound

Talkat Code BEAM Lite Stockholm 2026 · on Monday, 2026-05-18· [elixir-and-erlang]
links:none on file
slides:none on file

Claims a single node can reach 40,000 transactions per second after four months of tuning, using an Elixir stack plus Postgres and a custom traffic multi-tool to simulate up to 500 million requests and 100k concurrent sessions. Finds the real bottleneck is the Erlang process mailbox — the message queue (process mailbox) bottleneck — fixed by switching to Flow or changing max_concurrency and mapping strategy, trimming logging and JSON encoding overhead, adding Prometheus metrics, and getting steady gains from a 40% boost up to 10× in high-throughput scenarios.

AI-written summary · about

  1. 0:00CPU-bound challenges
  2. 2:16Traffic simulation analysis
  3. 4:45Performance testing methodology
  4. 6:49Elixir for transaction processing
  5. 9:16HTTP client performance
  6. 12:48Concurrency bottlenecks
  7. 15:13HTTP concurrency limits
  8. 17:42Message queue overflow fixes
  9. 19:47JSON encoding benchmarking
  10. 21:30Performance regression tracking
  11. 22:53Long simulation queueing
~/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.