Let’s talk fast, accurate AI at Google Cloud Next.

Join us in Vegas on April 22-24.
Rate limiters with Redis

Sliding window counter rate limiter with Redis & Java

About

Managing API traffic doesn’t have to be painful. In this video, Raphael De Lio walks through the Sliding Window Log algorithm—the most accurate way to handle rate limiting with Redis. Learn how it works, why Redis is built for the job, and how to implement it step by step in Java using Jedis. You’ll see the logic, the code, and the tests that make it work in production.

9 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
Redis

Raphael De Lio

Developer Advocate

Latest content

See all
MCP vs. A2A: Inside the protocols powering the next wave of AI agents
Image
AI office hours
Image
Intro to Redis for modern apps
1 hour

Get started with Redis today

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