---
title: "Make Before Break - Faster Scaling Mechanics for ClickHouse Cloud"
description: "ClickHouse Cloud replaced rolling-restart vertical scaling with Make-Before-Break (MBB) scaling: new, correctly sized replicas are added before old ones are removed."
url: "https://swe.quest/articles/make-before-break-faster-scaling-mechanics-for-clickhouse-cloud-160bec81b6592a0e"
canonical: "https://clickhouse.com/blog/make-before-break-faster-scaling-mechanics-for-clickhouse-cloud"
source: "ClickHouse"
published: "2025-04-02"
difficulty: "medium"
kind: "Case study"
reading_minutes: 17
tags: ["kubernetes","scalability","deployment","scheduling","analytics"]
---

# Make Before Break - Faster Scaling Mechanics for ClickHouse Cloud

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2025-04-02, 17 min read, Case study. Original: [https://clickhouse.com/blog/make-before-break-faster-scaling-mechanics-for-clickhouse-cloud](https://clickhouse.com/blog/make-before-break-faster-scaling-mechanics-for-clickhouse-cloud)

## Summary

ClickHouse Cloud replaced rolling-restart vertical scaling with Make-Before-Break (MBB) scaling: new, correctly sized replicas are added before old ones are removed. This avoids multi-hour resizes, since graceful eviction can wait up to 60 minutes per pod for long-running queries. It also avoids overloading the surviving replicas while one is out of rotation. Ordinal-based StatefulSets cannot remove arbitrary pods, so the operator was refactored to run one StatefulSet per server pod (MultiSTS). Existing services were migrated live through a dedicated migration controller, a mutex so only one controller reconciles a resource at a time, a partial maintenance mode, and Temporal workflows that batch and track thousands of migrations.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Scaling](https://swe.quest/tags/scalability.md) (Distributed systems)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [Scheduling](https://swe.quest/tags/scheduling.md) (Distributed systems)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)

## Prerequisites

- Kubernetes StatefulSets ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- Kubernetes operators and controllers ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- Pod Disruption Budgets

## Keywords

ClickHouse Cloud, StatefulSet, Make-Before-Break, Temporal, clickhouse-operator, Pod Disruption Budget, mutating webhook

## Related posts

- [Fixed cadence to seconds: making ClickHouse Cloud autoscaling more reactive](https://swe.quest/articles/fixed-cadence-to-seconds-making-clickhouse-cloud-autoscaling-more-reactive-1b4745e879b2e9ce.md): ClickHouse · 2026-08-04 · Medium · 13 min read · Kubernetes, Capacity planning, Go, Analytics & OLAP, Event-driven architecture
  ClickHouse Cloud's vertical autoscaling recommender moved from a fixed timer loop to a controller-runtime based design, so services that hit memory pressure get a recommendation in seconds instead of waiting for the next scheduled pass.
- [A Recap on May/June Stability](https://swe.quest/articles/a-recap-on-may-june-stability-4b12711289993df6.md): Neon · 2025-07-16 · Medium · 6 min read · Incidents & postmortems, Scaling, Kubernetes, PostgreSQL, Serverless
  Neon's May and June 2025 incidents were caused by a load surge from agentic AI platforms.
- [Smarter Auto-Scaling for ClickHouse: The Two-Window Approach](https://swe.quest/articles/smarter-auto-scaling-for-clickhouse-the-two-window-approach-5a9450c56fbc9543.md): ClickHouse · 2026-03-24 · Medium · 9 min read · Capacity planning, Cost optimization, Cloud platforms, Analytics & OLAP
  ClickHouse Cloud replaced its single 30-hour lookback window for vertical auto-scaling with a two-window recommender.
- [Supercharging your large ClickHouse data loads - Part 3: Making a large data load resilient](https://swe.quest/articles/supercharging-your-large-clickhouse-data-loads-part-3-making-a-large-data-load-9cbef13f424019e6.md): ClickHouse · 2023-11-01 · Medium · 13 min read · Analytics & OLAP, Data pipelines, Resilience, Databases
  Multi-day loads of billions to trillions of rows into ClickHouse can survive transient failures by splitting the input into retryable tasks.
- [Building ClickHouse Cloud From Scratch in a Year](https://swe.quest/articles/building-clickhouse-cloud-from-scratch-in-a-year-f29d54507578a627.md): ClickHouse · 2023-03-16 · Medium · 23 min read · System design, Cloud platforms, Kubernetes, Analytics & OLAP, Multi-tenancy
  ClickHouse Cloud was built in about a year on a "shared everything" architecture: compute and storage are separated, object storage (S3/GCS) is the primary store, and local SSDs handle caching and metadata.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
