CI/CD & Progressive Delivery

The deployment-strategy spectrum, when to use each, and SLO-gated automated rollback.

Overview

Where incidents are born

Deployment is where most production incidents start: about 60-80% trace to recent deploys, across multiple industry surveys. How you deploy matters more than what code you ship.

The ways to deploy line up on a single scale of risk. Feature flags carry the lowest risk, then canary, then blue/green, then the rolling update, and big-bang (recreate) deploys carry the highest.

Key concepts

  • Feature flags
  • Canary deployment
  • Blue/Green
  • SLO-gated rollback
  • Expand-and-contract
  • DORA metrics

Interview questions

  • Walk me through canary deployment with SLO-gated rollback.
  • How do you handle a database schema change safely?
  • What does the DORA research say about deploy frequency vs reliability?

Sign up free to read the full topic

More SRE topics

Start free on Cariara · Coding problems · System design studio