ex_limiter v1.2.0 API Reference

Modules

Configurable, leaky bucket rate limiting. You can define your own storage backend by implementing the ExLimiter.Storage behaviour, and configuring it with

Base module for arbitrary rate limiter implementations. Usage is

Plug for enforcing rate limits. The usage should be something like

Token bucket backend written for memcache. Stores the last timestamp and amount in separate keys, and utilizes memcache increments for consumption