PrepZone Logo
PrepZone
Back to Database

Database · Hard

How do you reshard or rebalance a live sharded cluster without downtime?

DatabaseDistributed SystemsStaff

Answer preview

Resharding moves data between shards — splitting a hot shard, adding capacity, or changing the shard key — while the system stays online. The safe pattern is always the same: dual-write, backfill, verify, cut over reads, then decommission, with a rollback available at every step.…