~/talk

Self-Destructing Feature Flags

slides:none on file

Deploys include a runtime guard that watches errors and flips flags off automatically: a Ruby/Go prototype uses Redis-backed counters to track checks and failures, a 5% failure threshold plus a configurable minimum sample (avoid flipping on bad luck), batching writes (flush ~100ms) and periodic counter resets to keep windows recent, and posts a Slack notice when it disables a flag. The implementation works at modest scale but needs tuning for endpoints that hit 100k checks/sec or long-running beta users.

AI-written summary · about

  1. 0:00Open Access Sponsor BLAMELESS
  2. 1:18Deployment != Release
  3. 1:55KeyValue Store
  4. 2:59Enable Globally
  5. 3:14Enable a percentage of time/traffic
  6. 4:02Enable for a subset of users
  7. 4:33Escape Hatch
  8. 5:12Bugfix Deploy
  9. 5:55Rollbacks
  10. 6:27Disable Feature Flag
  11. 7:24Scenario
  12. 9:35Remediation
  13. 10:52HOWTO: Initiate self-destruct sequence
  14. 13:21CHECK_FOO - FeatureCheck.new failure_threshold: 0.05, minimum: 1_000, do FEATURE_FOO.disable end
  15. 20:20Atomic Updates
  16. 20:40Account for volume
  17. 21:10Distribute keys
  18. 21:32Batch updates for checks and failures
  19. 21:54Reset periodically
  20. 23:33Tradeoffs
  21. 23:52Difficult to generalize
  22. 24:36Long-running feature flags for beta groups
  23. 25:21Requires up-front thinking
  24. 25:53Acceptable error rates
  25. 26:04What are your failure modes?
  26. 27:01How quickly should it react?
  27. 27:39What units should be used?
  28. 28:08What if you're wrong?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.