~/talk

How (and why) to run SQLite in production

Talkat Balkan Ruby 2024 · 2024-04-26..04-27· [ruby-on-rails, databases]
slides:none on file

Claim: SQLite can serve real Rails production workloads and frequently costs far less while staying simple. Benchmarks show about 10 SQLite writes per one Postgres write on the same host and over 600 SQLite writes per Postgres write across regions. The stack uses the sqlite3‑ruby gem, an enhanced adapter to add timeouts and immediate commits, and light stream rake tasks to stream changes to S3, verify restores, and expose a small dashboard. Deployments run on a $5–$15 VPS and the backup and restore flow works in practice.

AI-written summary · about

  1. 0:00Introduction
  2. 1:40Why choose SQLite
  3. 5:39Benefits of SQLite
  4. 10:43Pragmatic deployment
  5. 13:10Performance configuration
  6. 15:22Ensuring data resilience
  7. 22:50Advanced enhancements
  8. 31:20Deployment and conclusion
~/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.