Upgrading a Mule runtime or scaling the underlying infrastructure without any downtime
We generally have requirements to upgrade a Mule runtime or make hardware changes such as increasing the memory or storage, and these things must be achieved with zero downtime to ensure business continuity. It is also important to ensure the stability of the Mule runtime after an upgrade or making hardware changes. The current Mule runtime can be considered as a baseline production environment, and a new environment is created when the runtime configuration changes and hardware is upgraded.
To gain confidence in the new environment, we will use the canary deployment approach, where we will send a small amount of traffic to the new environment and the rest of the traffic to the baseline environment. Slowly, we will increase the traffic to the new environment as we gain confidence on the newly deployed application.
Once 100% of the traffic is being routed to the new environment, the baseline...