Abstract

A method is disclosed for enforcing a randomized exponential cooldown with full jitter in a controller that is invoked periodically and keeps no memory between invocations, so that every re-evaluation of one cooldown episode reproduces a single random draw that is never stored. Before acting against a subject, the controller queries its append-only action log for that subject over a lookback window, obtaining the number of actions n, the most recent action timestamp and the time elapsed since it, all on the database's clock. An episode key is formed from the subject identifier and that timestamp; a deterministic generator seeded from a hash of the key yields a uniform variate u; and the required cooldown is max(B, round(u × min(cap, B × 2^n))), full jitter floored at the fixed cooldown B it replaces, so the randomized brake is never shorter than the fixed one. The action is deferred while the elapsed time is below that requirement. Because u is a pure function of the episode, frequent polling cannot turn one draw into a race among many draws that collapses toward the floor; a new action opens a new episode with a fresh draw, distinct subjects are decorrelated, and within an episode, under unchanged configuration, the requirement can only stay equal or shrink, so the decision does not flap. Invalid configuration and any failure of the randomized path fall back to the fixed cooldown.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.

Share

COinS