Rolling back a micro app
A rollback strategy is a key component to managing any production software. This impacts the Time to restore service metric.
Rollback strategies for microfrontends center on the ability to revert a specific micro app or the entire system to a previous stable state when issues arise during or post-deployment. Thanks to the independence of microfrontends, a rollback doesn’t necessarily affect the entire application but can be targeted to the problematic component, reducing overall system disruption.
The simplest rollback strategy involves utilizing version control systems such as Git along with CI/CD pipelines. In this setup, each microfrontend has specific tagged releases, which are stored and can be redeployed if required. For instance, if the current version of a microfrontend is catalog-1.2.3
and an issue is detected, you can quickly revert to the previous stable version, catalog-1.2.2
, by triggering the corresponding deployment in your CI/CD...