Skip to main content

Module backoff

Module backoff 

Source

Structsยง

Summary ๐Ÿ”’

Enumsยง

Context ๐Ÿ”’
Federation step that recorded a decision; the keyโ€™s leading discriminant.
Disposition ๐Ÿ”’
Permanence of a recorded decision. Unknown discriminants decode to the weakest (Pending) so a future encoding can only soften, never wrongly escalate, a verdict against an old binary. Permanent is never written by this store.
Suppression ๐Ÿ”’
Verdict from consulting the store before a federation step.

Constantsยง

QUANTUM ๐Ÿ”’
Bucket width in seconds. Records within one bucket collide onto a single key (<= the smallest call-site backoff floor), coalescing concurrent failures.
SUPPRESS_AFTER ๐Ÿ”’
Accumulated Pending records at which the rate brake engages.

Functionsยง

current_bucket ๐Ÿ”’