~/talk

Migrating Datastores

Talkat SREcon22 Asia/Pacific · 2022-12-07..12-09· [databases]
slides:none on file

Buildkite migrates a single-threaded Redis cache to clustered Redis, splitting hot keys across three shards after hitting an 85% CPU cliff on a single instance. Engineering classifies keys into performance cache, capacity cache, and source-of-truth, then warms the new cache with a 1% traffic warmup rollout, adds percentage feature-rollouts and Redis-backed feature flags, and monitors shard CPU. Result: old node CPU peaks fall from the danger zone to ~60%, three shards share load, and customer-facing failures stop.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Buildkite Redis architecture
  3. 3:12Redis scaling limits
  4. 6:01Clustered Redis solution
  5. 8:29Data grouping for sharding
  6. 10:17Data types assessment
  7. 12:48Cache importance classification
  8. 14:54Migration strategy for caches
  9. 16:17Percentage-based rollouts
  10. 17:44Project side effects
  11. 19:07Migration results
  12. 21:37Key takeaways
  13. 23:22Project success
~/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.