IMBAContact us

Technology

Feature flags and progressive delivery strategies

Teams using feature flags deploy 2x more frequently with 50% fewer rollbacks. Learn how to implement progressive delivery for safer, faster releases.

By IMBA TeamPublished 4 min read

Leer en español →
Feature flags and progressive delivery strategies

Feature flags have evolved from a simple toggle mechanism to a core practice enabling progressive delivery. According to LaunchDarkly’s State of Feature Management, teams using feature flags deploy 2x more frequently and experience 50% fewer production incidents from releases.

The case for progressive delivery

According to Split.io’s Feature Delivery Report, progressive delivery reduces mean time to recovery (MTTR) by 90% compared to traditional rollback procedures.

Feature flag fundamentals

  1. Release Toggle: Enable/disable features without deployment
  2. Experiment Toggle: A/B testing and experimentation
  3. Ops Toggle: Kill switches for performance issues
  4. Permission Toggle: Feature access by user or tier
  5. Percentage Rollout: Gradual exposure to user populations
  6. Targeting: Segment-based feature delivery

Separate Deploy from Release: The core principle of progressive delivery is decoupling deployment (code goes to production) from release (users see the feature). This enables safer, more controlled rollouts.

Progressive delivery patterns

Canary release workflow

  1. Deploy Code: Deploy to production with flag off
  2. Enable 1%: Turn on for small percentage
  3. Monitor: Watch metrics, logs, errors
  4. Increase %: Gradually expand rollout
  5. 100% or Rollback: Full release or instant disable
  6. Clean Up: Remove flag after stabilization

Typical Canary Rollout Schedule

Category New Version (%) Old Version (%)
Day 1 1 99
Day 2 5 95
Day 3 10 90
Day 5 25 75
Day 7 50 50
Day 10 100 0

Feature flag platforms

Feature Flag Platform Comparison

Feature LaunchDarkly Split Unleash Flagsmith
Percentage Rollouts Yes Yes Yes Yes
User Targeting Yes Yes Yes Yes
A/B Testing Yes Yes No No
Self-Hosted Option No No Yes Yes
SDK Coverage Yes Yes Yes Yes
Analytics Yes Yes No Yes

Feature Flag Platform Adoption (%)

Category Adoption
LaunchDarkly 35
Split 20
Custom Built 25
Unleash 12
Flagsmith 8

Targeting strategies

Common Targeting Criteria

Category Value
Percentage of Users 35
User Attributes 25
Environment 20
Geographic 12
Device/Platform 8

Testing with feature flags

  1. Unit Tests: Test both flag states explicitly
  2. Integration Tests: Test feature interactions with flags
  3. E2E Tests: Test critical paths with flag combinations
  4. Flag State Tests: Verify targeting rules work correctly
  5. Production Testing: Test in production with restricted access

Flag lifecycle management

Technical Debt: Stale flags are technical debt. Plan for flag cleanup from the start. Set expiration dates, automate alerts for old flags, and include flag removal in your definition of done.

Metrics and monitoring

Key Metrics to Monitor During Rollout (%)

Category Importance
Error Rate Delta 95
Latency Impact 90
Conversion Rate 85
User Engagement 80
Support Tickets 70

Implementation best practices

  1. Naming Convention: Clear, consistent flag names across org
  2. Documentation: Purpose, owner, expected lifetime
  3. Default State: Fail safe—default to off for new features
  4. Monitoring: Alert on flag evaluation errors
  5. Cleanup Process: Regular reviews and automated removal
  6. Kill Switch: Emergency off switches for critical features

FAQ

Q: How many flags should we have active? A: It depends on organization size, but aim to minimize. 50-100 active flags for a medium organization is reasonable. More important is having a process to remove flags after rollout.

Q: Should we use feature flags for all features? A: No—use flags for risky or gradual releases. Simple, low-risk changes don’t need flags. Overusing flags adds complexity.

Q: How do we handle flags in testing? A: Test both flag states. Use test fixtures to control flag values. Consider the combinatorial explosion of multiple flags.

Q: What’s the performance impact of feature flags? A: Minimal with proper implementation. Use local flag evaluation (SDKs cache rules). Avoid database calls per evaluation. Most platforms evaluate in under 1ms.

Sources and further reading

Implement Progressive Delivery: Feature flags and progressive delivery require thoughtful implementation and process design. Our team helps organizations build release strategies that minimize risk while maximizing velocity. Contact us to discuss your delivery strategy.


Ready to implement feature flags? Connect with our DevOps experts to develop a tailored progressive delivery strategy.

Tell us about your project.

A senior engineer answers within 24 hours, not a salesperson.