A canary deploy passed analysis, but the full rollout caused errors at 100%.
AdvancedScenarioReleases & Reliability Patterns
Answer
Situation read → The canary did not represent full-load behaviour: load-dependent bugs, shared resource limits, or traffic not split evenly.
What I'd do →
- Roll back.
- Investigate load-dependent effects: connection limits, cache stampedes, DB load from a new query multiplied by all pods.
- Check traffic routing: was the canary getting representative traffic (all regions, all user types)?
- Add more steps (25%, 50%) with longer pauses and analysis on resource metrics (DB load), not just error rate.
Why → Some failures only appear at scale; more granular steps catch them earlier.
Interview tip → Mention load-dependent regressions like a new query's DB cost.
More on Releases & Reliability Patterns
A canary at 10% shows a 0.3% higher error rate than stable. Promote or roll back?IntermediateA downstream service is slow, and your service's retries are making it worse.IntermediateYou need to roll out a risky database schema change with zero downtime.AdvancedA feature flag was turned on for 100% of users and caused errors. How do you handle it and prevent recurrence?BeginnerYour service calls five dependencies sequentially, and total latency is too high.IntermediateA third-party API you depend on has rate limits, and you're hitting them during peaks.Beginner