An ETS-based implementation of the token bucket algorithm.
- Simplest possible API (only 1 public interface function:
Foretoken.take/5
) - ETS as concurrently accessible bucket storage
- Bucket lifecycle management
- On-demand creation of buckets (whch can be disabled)
- Automatic cleanup of unused buckets
This package requires Erlang/OTP 20 (or later).