~/talk

Use SQLite in production

Talkat DjangoCon Europe 2023 · on Wednesday, 2023-05-31· at 15:10· Music Hall· [databases]
slides:none on file

Argues that SQLite is a viable production DB: measured client reports show 800–8,963 SQLite files per laptop (roughly 2,000 average) and roughly 806,000 DBs at the conference, simple queries run in microseconds, a Wagtail test hits ~50 page updates/sec on one Unicorn worker, and a demo shows 85ms vs 150ms vs Postgres. Recommends enabling journal_mode=WAL and tuning synchronous, using lightstream to stream WAL to S3 for point‑in‑time and global replication, and using sqlite‑vss or dataset for vector search.

AI-written summary · about

  1. 0:00The case for SQLite
  2. 2:05Ubiquity and reliability
  3. 5:57Simplicity and philosophy
  4. 8:31Vector search capabilities
  5. 10:53Serverless nature
  6. 14:04Performance and latency
  7. 17:30Addressing concurrency
  8. 20:03Data integrity and typing
  9. 20:52Recovery and reliability
  10. 22:33Scaling and final advice
  11. 24:57Q&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.