Patterns and their signals
Four patterns
- Blue-Green — two identical environments; switch traffic in one move. Cheap, simple, risky.
- Canary — gradually shift % of traffic; rollback on bad signal. Best general-purpose pattern.
- Shadow — candidate receives a copy of traffic, responses discarded. Zero user risk, no business signal.
- A/B (Experiment) — 50/50 random split, statistical comparison on a business metric.
What signal you get
| Pattern | Tells you about | Doesn't tell you about |
|---|---|---|
| Blue-Green | Errors / latency under full load | Slow degradations |
| Canary | Errors / latency on small slice | Behaviour on tail traffic |
| Shadow | Inference parity, perf | Business impact |
| A/B | Business outcome | Performance at full scale |
Most teams chain them: shadow → canary → A/B → full.