Nader Alexan

Workshop/break-out session:
Feature toggles in database migration for zero downtime in production

With thanks to 3YOURMIND

Wednesday 11:45-12:45 UTC+2 in Workshop 2 (Cinema)

Zero-downtime deployment of migrations for not just one-to-one synchronisation, but many-to-one/one-to-many/many-to-many database models.

Downtime in production seems unavoidable at times, specifically when performing different types of migrations. Once you start researching the topic, you can see one abstract solution where you use feature toggles to maintain first both old and new database models and deploy, while synchronising them in production, then removing the old models keeping only the new ones. We expand on this solution by building a generic descriptor for models alongside a generic data synchroniser that allows for not just one-to-one synchronisation, but many-to-one/one-to-many/many-to-many database model synchronisation. Alongside the benefit of zero-downtime, comes the ease of migrating models in a fail-proof way due to the use of feature toggles and consistent sanity checks.

Break-out sessions are expected to last around 60 minutes. They will have limited seats and will have a sign-up option provided on the ticketholder website, once the schedule is known.