AdvancedTechnical
5 min
Blue-Green vs Canary Deployments with Feature Flags
DeploymentsCI/CDRelease Engineering
Advertisement
Interview Question
Compare blue-green and canary deployments. How would you integrate feature flags to reduce risk during production rollouts?
Key Points to Cover
- Blue-green: instant switch with two identical environments
- Canary: progressive exposure and metrics-based promotions
- Feature flags to decouple release from deploy and enable quick rollback
- Guardrails: automated metrics/SLO checks, kill switches, blast-radius limits
Evaluation Rubric
Explains differences and trade-offs35% weight
Uses feature flags to mitigate risk25% weight
Defines promotion/rollback criteria20% weight
Limits impact with staged rollouts20% weight
Hints
- 💡Automate rollback on SLO regressions.
Potential Follow-up Questions
- ❓Where do you enforce change freezes?
- ❓How do flags interact with caching?
Advertisement