~/talk

Shared Nothing Architecture - How to Scale to Infinity

Talkat Carolina Code Conference 2024 · 2024-08-23..08-24· [ruby-on-rails]
slides:none on file

A scheduling app built in Ruby on Rails runs isolated per-event deployments on fly.io, with one-VM cells, separate SQLite/Postgres databases, Redis for websockets, and Fusion Passenger routing. Print jobs use Puppeteer on separate on-demand 2GB machines that spin up in ~200 ms. Backups use rsync to replicate idle DB files to all regions and to a home server; logs are centralized. It scales to 94 events in 42 cities in 5 countries with sub-100 ms local responses and resilient failure isolation.

AI-written summary · about

  1. 0:00Introduction and background
  2. 7:54Shared nothing architecture basics
  3. 12:29Scaling with multiple machines
  4. 17:45Optimizing for user proximity
  5. 20:17Macro services and backups
  6. 24:46Administration and automation
  7. 26:30Q&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.