Moving Beyond Sprint Deployments
Traditionally, agile development teams compiled code during two-week sprints and scheduled manual production deployments during late-night maintenance windows, resulting in release bottlenecks.
Modern DevOps engineering is moving toward Continuous Delivery—automating the deploy pipeline to ship changes to production daily.
Key Continuous Delivery Patterns
To deploy safely without interrupting users, teams adopt three patterns:
1. Blue-Green Deployments
Maintaining two identical production environments (Blue and Green). Traffic goes to Blue. Deployments are pushed to Green, tested, and router DNS is switched instantly to Green.
2. Feature Flags
Decoupling code deployment from feature release. Code is merged to master and deployed in a disabled state:
// Dynamic feature flag routing in late 2012
if (FeatureFlags.isEnabled("new_billing_portal")) {
renderNewPortal();
} else {
renderLegacyPortal();
}This allows teams to deploy code without exposing unfinished features to users.