Thread-safe rate limiters (token bucket, leaky bucket meter and queue, fixed window, sliding window log, sliding window counter) with a Rack 3 middleware that applies per-route policies, identifies clients by IP, API key or user, sends RateLimit headers and retry-after, and can share counts between servers through Redis with a fail-open or fail-closed policy.

Required Ruby Version

>= 4.0

Authors

Luka Tchelidze

Versions

  1. 0.1.0
    1. source

      1. 0.1.0 source November 24, 2026 (25 KB)

Pushed by

SHA 256 checksum