2/7
Technical Architecture & AI Engineering · 8 min read

Database Scaling & Zero-Downtime Expand-and-Contract Schema Migrations

Follow a disciplined Postgres scaling ladder before touching sharding, and ship backward-compatible schema changes using four-phase Expand-and-Contract migrations.

Question 1 of 3

During a peak traffic surge, your implementation of Database Scaling & Zero-Downtime Schema Migrations experiences elevated P99 latency and upstream timeouts. What is the immediate engineering leadership action?

Question 2 of 3

When designing Database Scaling & Zero-Downtime Schema Migrations, how should an engineering lead ensure zero data loss during network partitions?

Question 3 of 3

What is the most critical metric to monitor continuously in Database Scaling & Zero-Downtime Schema Migrations to detect degradation before customers report outages?