1/5
Software Delivery & Product Execution · 6 min read

Staged Release Rings (Dogfood -> Beta -> RC -> GA) With Clear Exit Criteria

Decouple code deployment from customer exposure using a 4-ring progressive rollout model with explicit soak durations, ring-segmented telemetry exit gates, and structured customer feedback loops.

Why This Matters at Engineering Leadership Scale

Marketing loves big-bang launches where 100% of accounts see a new feature simultaneously. Yet real production tenants bring edge cases no staging test predicts: 20,000-row exports, weird SAML attributes, and complex RBAC trees. Exposing 100% of customers on Day 1 turns one edge case into a company-wide P0 outage.

Staged Release Rings (Dogfood -> Beta -> RC -> GA) decouple deployment (shipping dark code continuously) from release (widening live exposure ring by ring). By GA day, the feature has soaked safely in production for weeks across real tenants.

Core Mental Model & Framework

Every ring is a blast-radius filter with explicit audience, minimum soak duration, numeric exit gates, and feedback channels. Promote only when exit telemetry passes.

Release RingAudience & ExposureMin SoakObjective Exit CriteriaFeedback Loop
Ring 0: DogfoodInternal staff (<1% traffic)3-5 bus. days0 P0/P1 bugs; 20+ staff test core flow; metrics live#dogfood-feedback
Ring 1: Closed Beta5-15 opt-in partners (>=2 enterprise)7-14 daysRing 5xx <= base+0.05%; p99 in SLO; >=80% completionSlack Connect + weekly call
Ring 2: RC10% -> 25% -> 50% prod orgs5-7 days0 P0/P1 across 2 peak cycles; Support <2x; billing okSegmented Sentry/Datadog
Ring 3: GA100% eligible base + GTM launch14d HypercareAll RC gates green; playbooks & Hypercare activeAdoption dashboard

Step-by-Step Implementation Tutorial

  1. Tag every tenant with canonical release_ring metadata. Store release_ring (internal, beta_opt_in, rc_early, ga_standard), plan_tier, and freeze_window in LaunchDarkly, Split, or Unleash. Never hardcode tenant IDs in application code.
  2. Recruit messy enterprise tenants into Ring 1 Beta. Do not pick only tiny friendly accounts. Include at least two high-volume enterprise design partners with complex permissions and large datasets so scale edge cases appear in Beta, not GA.
  3. Ship dark to production early and run Ring 0 internally first. Exercise deployment pipelines, memory footprints, and query plans weeks before customers touch the UI.
  4. Segment all logs, metrics, and errors by release_ring and flag_variant. Global service averages hide a 5% crash rate inside a 2% Beta cohort. Build a side-by-side Grafana comparison panel (flag=on vs flag=off).
  5. Enforce a 10-minute Ring Promotion Gate before advancing Beta -> RC -> GA. Verify numeric exit criteria in writing and notify #releases so Support and SRE always know when exposure widens.
yaml
# flags/multi-currency-invoicing.yaml
flag_key: "billing.multi_currency_invoicing"
owner_squad: "checkout-billing"
kill_switch_enabled: true # Flip false -> instant v1 fallback globally
current_stage: "RING_2_RC"

targeting_rules:
  - ring: "RING_0_DOGFOOD"
    enabled: true
    match: { org_attribute: "release_ring", in: ["internal_staff"] }

  - ring: "RING_1_CLOSED_BETA"
    enabled: true
    match: { org_attribute: "release_ring", in: ["beta_opt_in"] }

  - ring: "RING_2_RELEASE_CANDIDATE"
    enabled: true
    rollout_percentage: 25 # Ramp: 10% -> 25% -> 50%
    sticky_bucket_by: "organization_id" # Keep all users in an org consistent
    exclude_rules:
      - { org_attribute: "freeze_window", equals: true }

  - ring: "RING_3_GA"
    enabled: false # Unlocks only when RC exit gates pass

ga_exit_gates:
  min_rc_soak_hours: 120
  max_ring_5xx_pct: 0.05
  max_p99_latency_ms: 400
  max_open_p0_p1: 0

Always set sticky_bucket_by: "organization_id" for B2B products so teammates inside the same company never see mismatched UI versions.

Worked Production Scenario: Before vs. After

A 120-engineer project-management SaaS company shipped a "New Timeline Engine" straight to 100% of customers alongside a 45,000-user announcement blast. Within 90 minutes, three enterprise customers with 18,000-task workspaces triggered an O(n^2) client loop and 14x API retry storm, knocking out the GraphQL gateway and forcing an embarrassing public rollback.

For the Q3 "Portfolio Rollups" launch, the Director of Release & SRE enforced the 4-Ring model:

  • Ring 0 (4 days): Internal product teams caught 9 UI edge cases and a missing audit log field.
  • Ring 1 (10 days, 12 tenants): A 22,000-task enterprise partner surfaced an N+1 query slowdown in 36 hours; fixed calmly with tiny blast radius.
  • Ring 2 (6 days, 10% -> 25% -> 50%): Caught a Support permission doc gap before GA.
  • Ring 3 (GA): Flipped to 100% on Marketing's scheduled Tuesday with zero incidents.
MetricBefore (Big-Bang 100%)After (4-Ring Rollout)Delta
Customer-Impacting GA Outages1 P0 (100% base affected)0 GA incidents (2 caught in Ring 0/1)-100% GA blast radius
Day-1 Support Ticket Surge+410% over baseline+18% over baseline-96% support shock
Post-Announcement Rollbacks2 rollbacks in 72h0 rollbacksClean GA launch
30-Day Customer Adoption19% (damaged trust)54% (Beta-polished UX)+35 pts

Common Failure Modes & Anti-Patterns

  1. Global Metrics Masking Ring Bugs. Checking global 5xx rate while Beta is 2% of traffic hides severe cohort failures. Fix: segment every Grafana and Sentry chart explicitly by flag_variant=on vs off.
  2. Endless Beta Limbo. Features stay in Ring 1 for four months because no exit gates were defined, doubling code maintenance. Fix: lock numeric exit gates and target graduation dates at Ring 0 kickoff, and schedule flag-cleanup tickets post-GA.
  3. Engineers-Only Dogfooding. Engineers use tools differently than non-technical admins. Fix: require PM, Support, and internal ops teams to run real workflows in Ring 0 before promoting.

How to Handle Pushback in the Room

Pushback 1 (VP of Marketing): "Our analyst briefing and webinar are locked for October 15. Staged rings sound like you want to slip our launch by three weeks."

Calm Response: "We are protecting October 15, not delaying it. By starting Dogfood September 20 and Closed Beta September 25, we still hit 100% GA on October 15 - except your press release launches a feature already battle-tested by 50% of live tenants with zero surprise outages."

Pushback 2 (Lead Engineer): "Feature-flagging across four rings and removing old code paths adds extra overhead to every epic."

Calm Response: "It takes half a day to wire flag targeting and half a day to clean up after GA. Compare that to losing two full weeks of squad capacity cleaning up a big-bang production outage and emergency backfills."

Key Takeaways & This Week's Action Rep

  • Decouple deployment from customer release: Ship dark continuously and widen exposure strictly via Dogfood -> Beta -> RC -> GA.
  • Bucket B2B rings by organization_id: Keep every user inside a tenant consistent and honor enterprise change freezes.
  • Segment telemetry by ring: Never rely on global averages to judge a 2% Beta cohort.
  • Promote on exit gates, not dates: Require soak hours, latency, and error thresholds to pass before widening traffic.

This Week's Action Rep: Add release_ring org targeting to your next major feature flag today and recruit 5 to 10 Ring 1 Beta partners (including two high-volume enterprise tenants) with your PM before development ends.