# hammer_backend_redis v7.1.1 - Table of Contents Redis backend for Hammer rate-limiter ## Pages - [Hammer.Redis](readme.md) - [Changelog](changelog.md) ## Modules - [Hammer.Redis](Hammer.Redis.md): This backend uses the [Redix](https://hex.pm/packages/redix) library to connect to Redis. - [Hammer.Redis.FixWindow](Hammer.Redis.FixWindow.md): This module implements the Fix Window algorithm. - [Hammer.Redis.LeakyBucket](Hammer.Redis.LeakyBucket.md): This module implements the Leaky Bucket algorithm. - [Hammer.Redis.SlidingWindow](Hammer.Redis.SlidingWindow.md): This module implements the Rate Limiting Sliding Window algorithm. - [Hammer.Redis.TokenBucket](Hammer.Redis.TokenBucket.md): This module implements the Token Bucket algorithm. The token bucket algorithm works by modeling a bucket that: - Fills with tokens at a constant rate (the refill rate) - Has a maximum capacity of tokens (the bucket size) - Each request consumes one or more tokens - If there are enough tokens, the request is allowed - If not enough tokens, the request is denied