Scalable Multi-Algorithm Distributed Rate Limiting: A Study on Redis-Lua Atomicity, Resilience4j Fallbacks, and High-Fidelity Observability

As modern software architectures shift toward highly decentralized microservice ecosystems, the challenge of maintaining service stability under unpredictable traffic patterns has become a central concern. This research presents a production-grade Distributed Rate Limiting framework implemented using Spring Boot and Java. The primary technical contribution is the development of a dual-layered enforcement strategy that leverages server-side Lua scripts for atomic state transitions within a Redis cluster [1]. We evaluate the performance of four core algorithms: Token Bucket [2], Leaky Bucket [3], Fixed Window, and a memory-resident Sliding Window. The system features a first-class observability stack involving Micrometer and Prometheus [5], [6]. Our analysis demonstrates high availability through Resilience4j-based local in-memory fallbacks [4].

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-05-12
DOI
https://doi.org/10.5281/zenodo.20139898
Primary Topic
Software System Performance and Reliability
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Scalable Multi-Algorithm Distributed Rate Limiting: A Study on Redis-Lua Atomicity, Resilience4j Fallbacks, and High-Fidelity Observability

Syed Abdulla
Zenodo (CERN European Organization for Nuclear Research)
Software System Performance and Reliability
article

Scalable Multi-Algorithm Distributed Rate Limiting: A Study on Redis-Lua Atomicity, Resilience4j Fallbacks, and High-Fidelity Observability

Syed Abdulla
article en

Abstract

As modern software architectures shift toward highly decentralized microservice ecosystems, the challenge of maintaining service stability under unpredictable traffic patterns has become a central concern. This research presents a production-grade Distributed Rate Limiting framework implemented using Spring Boot and Java. The primary technical contribution is the development of a dual-layered enforcement strategy that leverages server-side Lua scripts for atomic state transitions within a Redis cluster [1]. We evaluate the performance of four core algorithms: Token Bucket [2], Leaky Bucket [3], Fixed Window, and a memory-resident Sliding Window. The system features a first-class observability stack involving Micrometer and Prometheus [5], [6]. Our analysis demonstrates high availability through Resilience4j-based local in-memory fallbacks [4].

Zenodo (CERN European Organization for Nuclear Research)
Rajiv Gandhi University of Health Sciences (IN)
Responsible consumption and production
Openalex Percentile: Top 4%
Software System Performance and Reliability
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Scalable Multi-Algorithm Distributed Rate Limiting: A Study on Redis-Lua Atomicity, Resilience4j Fallbacks, and High-Fidelity Observability — Syed Abdulla · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS