~/talk

Rage Under the Hood: Breaking Rack and Embracing Fibers

Talkat Balkan Ruby 2026 · 2026-05-15..05-16· [ruby]
links:none on file
slides:none on file

A fiber-first Ruby framework called Rage swaps generic adapters for purpose-built components: a custom server that implements Rack but enables direct inter-process broadcasts, an in-process queue called Rage Deferred with an on-disk writer headlock, and a fiber-native ActiveRecord connection pool that returns connections during waits. It leverages the Ruby Fiber Scheduler to make blocking I/O feel synchronous, hits 5,000 concurrent SSE streams while still serving 11,000 RPS, and reports a 2.6x throughput gain on a CPU-bound real-world API.

AI-written summary · about

  1. 0:00Ruby’s growth challenge
  2. 1:16Introducing Rage framework
  3. 3:08Opaque vs transparent complexity
  4. 6:09ActiveJob vs Rage Deferred
  5. 8:22Database connection pinning
  6. 10:38Rack limitations and solutions
  7. 13:15Single-threaded concurrency
  8. 18:36Fibers and event loop
  9. 20:29Concurrent requests in one thread
  10. 20:54Fiber trade-offs and processes
  11. 22:26Tailored connection pool
  12. 24:21Load test results
  13. 26:15Simpler and faster architecture
  14. 26:35Ruby’s future and tools
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.