Tags: pairshaped/glimit
Tags
feat: add pluggable store backend for distributed rate limiting Introduce a Store interface (get/set/lock/unlock) so bucket state can be persisted externally (Redis, Postgres, etc.). All token bucket logic stays in glimit — adapters only implement simple CRUD + locking. In-memory storage is now a proper Store adapter (memory_store) backed by an OTP actor, eliminating dual code paths in the rate limiter. The rate limiter always delegates to a Store, and the builder creates a memory store by default when no external store is provided.
PreviousNext