~/talk

Migrating Primer’s Live Payments Platform to CockroachDB with Zero Downtime

Talkat RoachFest London 2026 · on Thursday, 2026-06-25· [databases]
links:none on file
slides:none on file

Primer migrates its live payments workload from single-writer Postgres on RDS to CockroachDB with dual-writer application logic, AWS DMS replication and a throttled DMS node to avoid saturating RDS. Hot data lives in CockroachDB while older records are archived to S3 with lazy hydrate on access, cutting storage costs during migration. New payments run on Cockroach by mid‑2023, final RDS shutdown occurs May last year, zero downtime maintained, and some write patterns are reworked to use versioning.

AI-written summary · about

  1. 0:00Primer and migration challenge
  2. 1:09Why Primer needed distributed DB
  3. 2:53Postgres limitations
  4. 4:20New DB requirements
  5. 6:26Zero-downtime strategy
  6. 7:50Dual-writer model process
  7. 8:32Cold data archiving
  8. 9:33Final cutover benefits
  9. 10:36Upgrades improvements
  10. 11:38Migration learnings
  11. 13:02Cost model future plans
  12. 13:48Q&A
~/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.