Grandes migrações, novo banco de dados, novo framework, nova plataforma, são de alto risco porque tocam tudo e não oferecem valor visível ao usuário até serem concluídas. A abordagem segura é incremental e reversível, nunca um grande cutover. Você migra em fatias que pode validar e reverter.
Um playbook seguro de migração
1. Know WHY — a migration with no clear payoff isn't worth the risk.
2. Migrate INCREMENTALLY — never flip everything at once.
3. Run OLD and NEW in parallel — strangler-fig pattern.
4. Use feature flags / DUAL WRITES to shift traffic gradually.
5. VERIFY continuously — compare old vs. new outputs (shadow traffic).
6. Keep a ROLLBACK path at every step.
7. Clean up the old system only AFTER the new one is proven.
