~/talk

Journey from Aurora Postgres

Talkat RoachFest 2023 · 2023-10-03..10-04· [databases, legacy-modernisation]
links:none on file
slides:none on file

DoorDash migrates from single-writer Aurora Postgres to CockroachDB by building a reusable extraction suite that tails table changes, checkpoints and suspends/resumes work, and autotunes parallel range-based imports. The pipeline uses foreign data wrappers when possible, patches pgbouncer for hard cutovers, records deletes to an outbox, and performs schema transforms (sequential ID → UUID, prefixing keys). The team extracts 54 tables to seven clusters, cutting main-cluster load and reducing QPS from 1.6M to 100k; cutovers are lossless and reversible.

AI-written summary · about

  1. 0:00Welcome/Introduction
  2. 2:01DoorDash's Django monolith / single database cluster
  3. 2:18Implementing microservices into the monolith
  4. 3:49Survival strategies at DoorDash
  5. 4:24When DoorDash went down on April 17, 2020
  6. 8:07DoorDash's extraction tooling
  7. 10:03Why you should invest in reusable tooling
  8. 10:55Traditional migration pitfalls
  9. 13:11The importance of keeping it simple!
  10. 14:51Customizing runtime behavior
  11. 16:09Schema transformations
  12. 18:22Runtime behavior (continued)
  13. 19:48Table extraction to Aurora Postgres (before and after cutover)
  14. 20:27Forklift extraction to CockroachDB
  15. 21:33aurora-extract in Slack
  16. 22:22CockroachDB migration demo
~/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.