greenstick/regulo
Regulo
A fast concurrency limiter with built-in priority queue, circuit breaker, adaptive backoff, and windowed metrics. Control the heat 🔥
2stars
greenstick/regulo
Regulo
A concurrency limiter with priority queue, saturation circuit breaker, adaptive backoff, and windowed metrics. Zero dependencies, ~26KB, TypeScript, ESM+CJS.
Visit project- First shared
- Jun 26, 2026
- HN activity
- 20
Show HN@bnjemianJun 26, 2026
Show HN: Regulo – an adaptive semaphore for saturation control
Built this semaphore while working on our bootstrapped community dating platform (june.dating) after a traffic spike hit our SSR rendering path. It's a priority-queue semaphore with weighted permits, a saturation circuit breaker (trips on timeouts, not errors), and adaptive backoff. It has some baked in observability with status(), which gives you queue depth, latency, and circuit state for free. Zero dependencies, ~26KB minified, TypeScript, ESM+CJS. Written by a human, optimized by the bots.
Community