Skip to content

Detent

Runtime knobs for every process

C++FeaturedActive

A detent is the click-stop that holds a knob at its setting. My Detent gives an application those knobs at runtime: named integer settings that can also act as feature flags, kill switches, group overrides and gradual rollouts. A C++ read uses a local snapshot. It does not wait for a network call, disk access or mutex.

The small version needs only baked defaults or a local file. The managed version adds a durable authority with three Raft voters, an optional relay, and an agent on each host. Publish a change as a transaction; the agents deliver a complete, validated generation to their applications. If delivery stops, readers keep the last good snapshot.

The C++ client, Python and Rust bindings, and shell reader all use the same knob model. Underneath, Detent pulls in several of my Familiars, including atomic-shared-ptr for snapshot publication and consensus for the authority’s Raft core. The quick-start walks through the first knob and rollout.