Micro-toolkit

microres

Transient failures need bounded retry and overload control.

Caller-owned retry, circuit-breaker and token-bucket primitives provide explicit resilience policy.

DevelopmentMITC99
Last verified
Not audited against current README/docs
Platform scope
Portable C99; integration depends on caller-provided adapters

What it solves

Transient failures need bounded retry and overload control.

How it works

1Operation2retry / breaker / limiter policy3result

Use it when

Retry a synchronous peripheral operation
Open a circuit after repeated failure
Rate-limit discrete work

Quick Start

#include "mres.h"
/* Initialize a retry policy and call mres_retry_exec with clock/wait hooks. */

Engineering evidence

  • C99 API and consumer fixtures are present

Known limits

  • No async scheduler, persistence, implicit thread safety or ISR-safe retry