
Zero-downtime database migrations with the expand and contract pattern
During a rolling deploy, old and new code share one database. Expand and contract is how you change the schema underneath both without breaking either.
Notes from the work: how we build web platforms, desktop software and developer tooling, and what we have learned shipping and running them.
19articles published

During a rolling deploy, old and new code share one database. Expand and contract is how you change the schema underneath both without breaking either.

Most slow queries are not a mystery. EXPLAIN shows exactly what the database plans to do, and once you can read it, the fix is usually one well-ordered index away.
A remote-first software studio building web platforms, desktop software, and scalable systems that keep working after launch.
info@systronium.com