namespace + identifier starts a new counter — they don’t share state.
Default is
fixed-window.
Fixed Window
Discrete windows. Fast. Can allow 2× at the boundary.
Sliding Window
Exact timestamps. No cliff.
Token Bucket
Start full. Spend tokens. They refill over the duration.
Leaky Bucket
Fill the bucket. It leaks at a constant rate. Overflow rejects.