Skip to main content

Deployment Frequency

Deployment Frequency is how often a team successfully releases to production, and it is one of the four DORA metrics measuring delivery speed.

Understanding Deployment Frequency

What Is Deployment Frequency and Why Does It Matter

Deployment Frequency counts successful production deployments over a period, such as per day or per week. Smaller, more frequent releases are lower risk: a deploy with three commits is easy to reason about, test, and roll back, while one with three hundred is not. High frequency is usually a symptom of good batch-size discipline rather than a goal in itself.

Benchmark Bands

Tier Deployment Frequency
Elite On demand, multiple times per day
High Between once a week and once a month
Medium Between once a month and once every six months
Low Less than once every six months

What Limits Your Frequency

flowchart LR A[Large pull requests] --> E[Low frequency] B[Slow test suite] --> E C[Manual approvals] --> E D[Coupled release trains] --> E classDef cause fill:#F97316,color:#FFFFFF classDef result fill:#EF4444,color:#FFFFFF class A,B,C,D cause class E result
  • Long test suites: a 45-minute pipeline caps how many deploys a day can happen.
  • Approval gates everywhere: reserve manual approval for production, not every environment.
  • Large pull requests: code waiting for review is code waiting to ship.
  • Release trains: deploying many services together lets the slowest one set the pace for all.

Measuring Deployment Frequency

Count successful production deployments from your CI/CD platform or the GitHub Deployments API for a fixed window, then divide by the days in that window.

Bash
# Count production deployments (first page of 100)
curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \
"https://api.github.com/repos/swiggy/checkout-service/deployments?environment=production&per_page=100" \
| jq 'length'
Python
deploys_in_window = 47
window_days = 30
print(f"Deploys per day: {deploys_in_window / window_days:.2f}")

Troubleshooting

Symptom Check What to Look For
Number looks too high Filter environment=production Staging or preview deploys mixed in
Stuck low with small PRs Time from merge to deploy start Manual gate or batching window
Varies wildly by week Plot daily counts Deploys bunched before a freeze
Tip

Measure per service. Forty services deploying weekly look like weekly deploys in aggregate even if individual teams ship daily.

Remember

High frequency only means something when Change Failure Rate is low. Read the four DORA metrics together.

Security

More deploys mean more automated use of pipeline credentials. Keep runner permissions and OIDC roles least-privilege as frequency grows.

Common Mistake

Inflating the number with no-op or config-only deploys, or counting staging. The dashboard looks elite while nothing ships faster.

Frequently Asked Questions

What separates elite from low deployment frequency in DORA research?

Mostly batch size. Elite teams deploy small diffs on demand, often several times a day. Low performers bundle months of change into one release, which is riskier and harder to debug.

Can deploying more often make things worse?

Yes, if stability does not keep up. Pair frequency with Change Failure Rate and recovery time, and build fast rollback and feature flags before pushing the number higher.

Does deployment frequency count releases to every environment?

No. Count only successful production deployments, otherwise staging activity inflates the metric.

Found a mistake, an outdated step or a broken link?