New from O’Reilly: The memory architecture behind adaptive AI agents

Read the report
Rate limiters with Redis

Sliding window log rate limiter with Redis & Java

About

Precision matters when you are rate limiting. The sliding window log gives you accurate control over requests in real time. In this video, Raphael De Lio walks through how the algorithm works, why Redis is ideal for high-precision limits, and how to build it step by step in Java with Jedis. You will also explore practical optimizations like using a hash instead of a sorted set, hash field expiration, and what changes with Redis 8. Finally, you will test the implementation so it is ready for production.

7 minutes
Key topics
  1. How the sliding window log algorithm works
  2. Building and testing a Java implementation with Jedis
  3. Scenarios to validate behavior
Speakers
Raphael De Lio

Raphael De Lio

Developer Advocate

Latest content

See all
Image
Redis Released 2025
Banking with ICICI: Delivering a fast user experience at scale
16 minutes
Image
Redis Released 2025
E-commerce & AI panel: See how CP Axtra & Purplle accelerated their sale
32 minutes
Image
Redis Released 2025
How Entain counts on Redis for the biggest gaming events in the world
28 minutes

Get started with Redis today

Speak to a Redis expert and learn more about enterprise-grade Redis today.