System Design Patterns: From Fundamentals to Real Systems

0% completed

Blue-Green Deployment

The Pattern

Run two identical production environments: blue is live, green is idle. Deploy the new version to green, verify it against real infrastructure while it serves nobody, then swing the router: all traffic moves to green in seconds. Rollback is the same swing, backwards. The understudy is fully dressed and warmed up before the spotlight ever moves.

Feel the two pains this cures. First, rollback speed: with in-place deploys, "undo" means building and shipping the previous version: CI, artifacts, rollout: 15 to 25 minutes of outage while you already know what the fix is

.....

.....

.....

Like the course? Get enrolled and start learning!