~/talk

Dancing With the Pods: Live Migration of a Database Fleet While Serving Millions of Queries

links:none on file
speakerdeck:mgill25
slides:none on file

ClickHouse migrates a legacy fleet of thousands of customer clusters over ~6 months with zero downtime by replacing single StatefulSets with a multi-statefulset “make-before-break” pattern that temporarily runs old and new replicas in parallel. A custom migration controller plus Temporal workflows coordinate batching, retries and rollbacks; fixes include zone pinning to avoid AZ skew, a system sync from modifier to avoid endless syncs, and an S3-backed disk type for zero-copy attaches — migration completes successfully at scale.

AI-written summary · about

  1. 0:00Migration challenge
  2. 1:05ClickHouse architecture limits
  3. 3:12Vertical scaling breaks first
  4. 5:40Make-before-break scaling
  5. 7:27Zero-downtime requirements
  6. 9:56Temporal for migration workflows
  7. 11:43Migration orchestration
  8. 12:04Migration controller details
  9. 15:11Customer migration challenges
  10. 17:18ClickHouse migration issues
  11. 20:10DNS and system table issues
  12. 21:55S3 disks for system tables
  13. 22:37Live migrations Q&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.