~/talk

Understanding Ruby Web Server Internals: Puma, Falcon, and...

Talkat RailsConf 2025 · 2025-07-08..07-10· [ruby]
links:none on file
slides:none on file

Puma is a hybrid multiprocess+threaded server that faces IO blocking and GVL contention (demonstrated as ~48% and ~37% latency bloat in the given example), Falcon uses an event loop + fibers to handle thousands of concurrent IO operations without blocking a worker but risks starvation for CPU‑bound work, and Pitchfork uses reforging/reforking to share JIT/cache pages across workers, reporting ~30% memory reduction and a 9% P99 latency drop versus Unicorn; some gems (eg gRPC) are incompatible and rollout testing via partial traffic/proxy is common.

AI-written summary · about

  1. 0:00Introduction to web servers
  2. 1:36Fundamentals of process models
  3. 4:27Analyzing the Puma server
  4. 8:26Using Falcon for IO workloads
  5. 11:46Pitchfork and reforking
  6. 17:26Decision framework and summary
  7. 19: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.