How Blue-Green Works

How Blue-Green Works An architecture diagram generated by Archify. Traffic router · routing · 1. Analysis Traffic router routing Primary · v1 · live · 1. Analysis Primary v1 · live Canary · v2 · test · 1. Analysis Canary v2 · test Traffic router · routing · 2. Primary update Traffic router routing Primary · v1 → v2 · updating · 2. Primary update Primary v1 → v2 · updating Canary · v2 · temporary live · 2. Primary update Canary v2 · temporary live Traffic router · routing · 3. Complete Traffic router routing Primary · v2 · live · 3. Complete Primary v2 · live Canary · v2 · replicas 0 · 3. Complete Canary v2 · replicas 0 live traffic 100% temporary live 100% optional mirror live 100% 1. Analysis 2. Primary update 3. Complete

Analysis and promotion

  • • iterations strategy; do not mix with stepWeight/stepWeights
  • • Failure threshold counts accumulated checks

Operational limits

  • • Discarding mirror responses does not prevent writes or load
  • • An unhealthy primary during promotion needs separate recovery