InterviewBuddy
All interview questions

How do blue-green and canary deployments differ?

Advanced

Answer

Blue-green switches traffic between complete environments. Canary exposes a new version to a limited share of traffic before expanding it.

Explanation

Both need measurable health criteria and a way to redirect traffic if problems appear.

Example

Canary: 5% → check errors and latency → 25% → 100%.