Skip to content
Runtime Knobs for Every Process
Detent is a fast, simple and safe runtime-configuration system for feature flags, kill switches and live settings.

🎛️ Simple

One knob type, a 64-bit integer, named namespace:knob. Publish JSON with curl, read with one call.

Quick-start →

⚡ Fast

A read is one atomic load, one lookup and one evaluation: no network, no disk, no lock, no allocation.

Benchmarks →

🛟 Safe

Updates are validated off the read path and swapped in atomically. Outages keep the last known good snapshot.

Failure semantics →

Flip a switch in seconds.

Quick-start Instructions
# In the Quick-start shell, with both daemons running:
publish checkout:new_path '{"default":1}'
sleep 1; detent get checkout:new_path # => 1
publish checkout:new_path '{"default":0}'
sleep 1; detent get checkout:new_path # => 0

🎯 Gradual

Ramp features by percentage with a stable SHA-256 bucket, and give groups their own forced value or rollout.

Rollouts →

🐚 Everywhere

Link the C++ client, use the Python or Rust bindings, or read from any shell through a host-local managed agent.

Host-local reads →

⚖️ Replicated

Run the durable authority on three voters with authenticated, transactional publishing and Raft consensus.

Durable authority →