redis-rate-limiter

Implementation of the GCR Algorithm in C as a Redis Module

Availability

Distro aarch64 noarch x86_64 Version
RHEL 10
RHEL 9 0.0.1
RHEL 8 0.0.1
RHEL 7
RHEL 6

Description

A Redis module that provides rate limiting in Redis as a single command. Implements the fairly sophisticated generic cell rate algorithm which provides a rolling time window and doesn't depend on a background drip process.

Compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

Install

CentOS/RHEL 9
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install redis-rate-limiter
CentOS/RHEL 8
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install redis-rate-limiter