Theory of Intelligence
BACKEND ENGINEERING•Deployment And Cloud•Delivery•2.2 Deployment Strategies

2.2.1 Blue-Green Deployments

Subtopics: Blue-Green Deployments, Canary Releases, Rolling Deployments, Rollbacks and Feature Flags.

2.2.1 Blue-Green Deployments

Blue is live. You deploy green, test it, then flip the balancer. Roll back by flipping back.

Why it matters

Users never sit on a half-migrated fleet. Rollback is instant if schemas are compatible.

How it is used

Keep both stacks sized for full load (cost). Schema changes must work with both binaries during the flip. Drain connections before shutting blue down.

Discuss theoretical concepts, mathematical formulas, and architectural foundations.

Supports inline code with `backticks`
No comments yet. Be the first to start the discussion!