~/talk

How CockroachDB helped Spreedly migrate their data from chaos to consensus

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

Spreedly migrates from an aging key‑value mess into CockroachDB, consolidating six systems into one logical datastore and removing three custom codebases and two auxiliary databases. The team uses a source-of-truth migration to separate migration from activation, lets CockroachDB manage IDs to avoid UUID hotspots, applies a read-through migration for bulky historical vault data, and enforces row-level TTLs plus changefeeds to keep retention, shrink legacy compute, and serve both transactional and analytics needs while accepting a first-touch latency trade-off.

AI-written summary · about

  1. 0:00Intro: A tale of modernization in 3 lessons
  2. 0:31About Spreedly's flexible payment platform
  3. 0:55Payments orchestration vs Payments optimization
  4. 1:35What did Spreedly think their data needs were?
  5. 2:17What were Spreedly's actual data needs? (Application data, vaulted data, transaction data)
  6. 3:12How system level tech debt can accrue
  7. 4:35Why modernization is a responsibility, not a necessity
  8. 5:06Spreedly's architecture before CockroachDB
  9. 6:31With great power comes great on call rotations, operational costs, failovers, late nights, burnout...
  10. 7:25Lesson 1: De-risk the migration by taking it slow
  11. 9:28Lesson 2: Don't migrate data which you don't need to
  12. 11:40Lesson 3: Data is an ecosystem not a database
  13. 13:22Behind Spreedly's CockroachDB migration project
  14. 14:40Closing notes: Modernization is not a spectator sport
~/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.