Deployment strategy
Two types of deployment strategy are supported on Runtime Fabric:
- Rolling Update
- Recreate
Rolling Update allows you to redeploy the application with zero downtime. An existing replica of the application is available until a new replica of the application is deployed and the client can continue to send the request. Once a new replica has been successfully deployed, the old replica is terminated.
The following diagram depicts how rolling updates work:
![Figure 11.24 - Rolling Update deployment strategy](https://static.packt-cdn.com/products/9781805126188/graphics/image/B19922_11_24.jpg)
Figure 11.24 - Rolling Update deployment strategy
Recreate will terminate the existing replica of the application and then deploy a new replica of the application. The application will not be available during the deployment.
The following diagram depicts how Recreate works:
![Figure 11.25 - Recreate deployment strategy](https://static.packt-cdn.com/products/9781805126188/graphics/image/B19922_11_25.jpg)
Figure 11.25 - Recreate deployment strategy