4 ms·
Very good approach. Also having some controls like feature flags per customer/user is very useful. Sometimes migration takes a while and it is useful to move us
by jakozaur 12y ago
Very good approach. Also having some controls like feature flags per customer/user is very useful. Sometimes migration takes a while and it is useful to move users gradually through those phases with ability to rollback.
- mceachen 12y agoAbsolutely! I didn't reference it originally, but saw that it was already out in the wild, so I added a short paragraph about Twitter's solution, "Decider."
- MaxGabriel 12y agoWhen we were switching a contained part of our codebase from Mongo to MySQL, we ran both in parallel and stored a key in Redis to let us turn off the MySQL backend (we re-used our feature flag utility for this). This turned out to be quite useful. If we were throwing exceptions in the new MySQL code, or even just suspected the new system of causing problems, we could switch it off. We also switched it off so that we could easily run migrations without taking down the site.