~/talk

Conquering Massive Traffic Spikes in Ruby Applications with Pitchfork

Talkat Euruko 2025 · 2025-09-18..09-19· [ruby, web-performance]
slides:none on file

Swapping Unicorn for Pitchfork and enabling its le_fork_after 50,100,1000 warm‑forking removes cold workers so prewarmed processes handle the surge; prewarming is triggered during the 30‑minute scale‑out window rather than at spike time. Cold‑start CPU and template compilation stop causing P90/P95 to blow up — a spike that previously produced minute‑long latencies now shows only minor bumps despite a 3× traffic increase. Requires fork‑safety checks and replacing worker‑killer logic. Unicorn -> Pitchfork swap

AI-written summary · about

  1. 0:00Introduction
  2. 3:23Traffic spike challenges
  3. 4:29Current limits with Unicorn
  4. 7:05Finding latency causes
  5. 8:09Cold worker impact
  6. 10:40Unicorn request routing
  7. 12:06Prewarming all workers
  8. 12:48Pitchfork leapwork feature
  9. 14:15Migration and testing
  10. 15:40Configuring leapfork thresholds
  11. 16:43Triggering leapfork quietly
  12. 17:04Worker killer for Pitchfork
  13. 17:27Pitchfork results
  14. 18:55Latency and experience gains
  15. 19:37Memory sharing benefits and limitations
  16. 20:21When to use leapwork
  17. 20:42Conclusion
~/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.