~/talk

Look Ma, No Background Jobs: A Peek into the Async Future

Talkat RailsConf 2024 · 2024-05-07..05-09· [ruby]
slides:none on file

Shows how to replace background job queues for IO-bound work by running requests inline on Falcon using the Async gem and ruby fibers. Describes an architecture that spawns supervised async tasks during a web request, waits or streams partial responses, and handles timeouts, retries, and resource limits. Demonstrates with external API calls and SMTP examples, compares behavior to Sidekiq-style queues, and explains tradeoffs: it scales with many concurrent connections but does not help CPU-bound work.

AI-written summary · about

  1. 0:00Introduction
  2. 2:55Background jobs challenges
  3. 10:56Async future benefits
  4. 17:28Implementation details
  5. 21:57Conclusion and Q&A
~/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.