FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Part 2: Kill Switches and Scheduled Flags — Feature Flags in Production (Java)
NewsSystems

Part 2: Kill Switches and Scheduled Flags — Feature Flags in Production (Java)

via Dev.to TutorialDavid Frigolet3w ago

Part 2 of Feature Flags from Scratch . Part 1 built a feature flag system with rollout percentages and targeting rules on top of PostgreSQL. This post adds two production-critical capabilities: a kill switch that force-disables a flag instantly regardless of its current state, and scheduled activation so flags turn on and off automatically at a specified time. It's Tuesday afternoon. A flag you shipped last week — currently at 40% rollout — is causing errors for users in that cohort. Your monitoring fires. You need to turn it off. The system from Part 1 can do this: set enabled: false . But there's a problem. You have to know the current state, write the right payload, and wait for the normal update path. In a real incident, that's friction you don't want. What you actually need is a big red button: force-disable this flag, right now, regardless of what state it's in. One field. Evaluated before everything else. Overrides all rules and rollout percentages. And the other gap: you can't

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
22 views

Related Articles

Hello everyone!
News

Hello everyone!

Medium Programming • 4d ago

From BSCS Student to Real Developer The Moment Everything Changed
News

From BSCS Student to Real Developer The Moment Everything Changed

Medium Programming • 4d ago

News

libeatmydata - disable fsync and SAVE

Lobsters • 4d ago

News

Most Frequent N-Gram

Medium Programming • 4d ago

News

Leetcode#1297: Maximum Number of Occurrences of a Substring

Medium Programming • 4d ago

Discover More Articles