How One Startup Uses Multi-Version Concurrency Control for Zero-Downtime Migrations
from The Technical Co-Founder Podcast with Fexingo: Engineering Founders, CTOs, and Building from Code Hosted by Fexingo
In this episode, Lucas and Luna explore how a fast-growing fintech startup uses multi-version concurrency control (MVCC) to perform schema migrations without taking the database offline. They walk through the problem of locking tables during ALTER statements, how MVCC keeps multiple versions of rows active, and the specific approach the startup took: progressive column additions, lazy backfills, and a version-based query router. The case study is a company processing 2 million transactions daily on PostgreSQL. The hosts break down why traditional migrations fail at scale and how MVCC-inspired patterns let the team ship schema updates in minutes instead of maintenance windows. They also touch on the tradeoffs — storage bloat and vacuum overhead — and why this technique is gaining traction in the microservices ecosystem. #MultiVersionConcurrencyControl #MVCC #ZeroDowntimeMigrations #SchemaMigration #PostgreSQL #Fintech #DatabaseDesign #Scalability #BackendEngineering #StartupEngineering #BusinessAndTechnology #TechnicalCoFounder #FexingoBusiness #BusinessPodcast #EngineeringPodcast #Database #DataMigration #SoftwareArchitecture Keep every episode free: buymeacoffee.com/fexingo
Embed this episode
No transcript yet.