~/talk

How 12 factor app helped migrate +10k Postgres instances

Talkat Django Day Copenhagen 2022 · on Friday, 2022-04-08· [django, databases]
slides:none on file

Divio migrates over 10,000 Postgres instances by applying 12-factor principles so upgrades become configuration and deploy problems not custom scripts. The process provisions a Postgres 13 instance, pg dump/restore from postgres 9.6 → 13, runs maintenance tasks as containerized worker processes (Celery/RabbitMQ), deploys by combining an unchanged build with new environment config (adopt=true), and then decommissions old instances. Runbooks are Python-driven automation; monitoring uses Sentry and Datadog. Outcome: automated at scale with a small runbook bug fixed early, cost and support risks removed.

AI-written summary · about

  1. 0:00Start
  2. 3:3812factor.net
  3. 6:07A procedure for executing specific steps
  4. 9:52STORE CONFIG IN THE ENVIRONMENT
  5. 16:55EXECUTE THE APP AS ONE OR MORE STATELESS PROCESSES
  6. 20:13MAXIMISE ROBUSTNESS WITH FAST STARTUP AND GRACEFUL SHUTDOWN
~/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.