Rollback Strategy:?
Short answer: Use Canary Deployments or Blue/Green Deployments to safely roll out changes.
Explain a bit more
These methods allow you to deploy new versions gradually and roll back easily if issues arise. If a rollback is required, it can be as simple as redeploying the previous stable version using container images or deployment configurations stored in a versioned system. Example: If the Order Service is updated to a new version and a bug is detected, you can use Kubernetes or Docker to quickly roll back to the previous stable version of the container.
Real-world example (ShopNest)
ShopNest splits Catalog, Cart, Order, and Payment into services so teams can deploy catalog changes without redeploying payments.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png