Skip to main content
Kill Switch

Stop the bleeding instantly

Disable problematic features without deploying

When something breaks in production, every second counts. Kill switches let you disable features instantly—no deploy, no restart, no waiting for CI/CD.

The Problem & Solution

Before & after Replane

See how teams transform their workflow

Without Replane

  • Slow incident response

    Disabling a broken feature requires a code change, PR, and full deployment cycle.

  • Full rollback required

    Can't disable just one feature. Have to roll back the entire release.

  • Downtime during fixes

    Users experience the bug for 30+ minutes while you rush to deploy a fix.

  • No granular control

    It's all or nothing. Can't disable for specific users or regions first.

With Replane

  • Instant disable

    One click disables any feature. Changes propagate in milliseconds.

  • Granular control

    Disable specific features, not the entire service. Keep the rest running.

  • Zero downtime

    No deploy, no restart. Your service keeps running while you investigate.

  • Targeted disabling

    Disable for specific users, regions, or percentages while you fix.

Key Features

Emergency controls ready

Stop the damage before it spreads to more users

Instant Response

Disable features in under a second

Zero Downtime

No service restart needed

No Deploys

No code changes required

Unlimited Switches

Protect every risky feature

How It Works

Three simple steps

Get up and running in minutes, not hours

1

Detect the issue

Your monitoring alerts you to a problem. Error rates spike, users complain, or you spot the bug.

2

Flip the switch

Open Replane, find the feature, toggle it off. The change propagates to all servers instantly.

3

Investigate safely

With the feature disabled, take your time to debug. Fix properly, test thoroughly, then re-enable.

Benefits

Why teams choose Replane

Built for developers who value speed, reliability, and control

Sub-second response

Changes propagate via SSE in milliseconds. No waiting for deploys, cache invalidation, or restarts.

Granular control

Disable specific features, not the entire service. Keep your app running while you fix the issue.

Full audit trail

Every toggle is logged with timestamp and user. Perfect for post-mortems and compliance.

Code Examples

Works with your stack

Official SDKs for all major languages and frameworks

1import { Replane } from '@replanejs/sdk'
2
3interface Configs {
4 'kill-switch-payments': boolean
5 'kill-switch-stripe': boolean
6}
7
8const replane = new Replane<Configs>()
9
10await replane.connect({
11 baseUrl: 'https://replane.example.com',
12 sdkKey: process.env.REPLANE_SDK_KEY
13})
14
15// Wrap risky features in kill switches
16async function processPayment(order: Order) {
17 // Kill switch: disable if issues detected
18 const paymentsEnabled = replane.get('kill-switch-payments')
19 if (!paymentsEnabled) {
20 throw new PaymentDisabledError(
21 'Payment processing temporarily disabled'
22 )
23 }
24
25 // Kill switch for specific provider
26 const stripeEnabled = replane.get('kill-switch-stripe')
27 if (!stripeEnabled) {
28 return fallbackToPayPal(order)
29 }
30
31 return await stripe.charges.create({
32 amount: order.total,
33 currency: 'usd',
34 source: order.paymentMethod
35 })
36}
37
38// React to kill switch changes
39replane.subscribe('kill-switch-payments', (config) => {
40 if (!config.value) {
41 alertOps('Payments kill switch activated!')
42 }
43})
FAQ

Questions about Kill Switch

Common questions and answers

Within seconds. Open the Replane dashboard, find the kill switch config, toggle it off. The change propagates to all connected clients via SSE in milliseconds. No deploy, no restart needed.

Every change is versioned with full history. You can see exactly what changed, when, and by whom. Rollback to any previous state with one click if you make a mistake.

Yes! Use override rules to target specific users, regions, or percentages. For example, disable a feature only for users on the free plan, or only in a specific region.

Wrap risky features in a simple boolean check: `if (replane.get('kill-switch-payments'))`. When you flip the switch in the dashboard, the feature is disabled instantly.

The SDK caches configs locally and updates them in real-time. In-flight requests complete with their current config. New requests immediately use the updated config.

Get Started with Kill Switch

Ready to ship faster?

Start using Replane in minutes. Free forever for self-hosted, or let us manage everything for you.

No credit card required. MIT licensed. Deploy anywhere.