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

Read the report
Rate limiters with Redis

Fixed window counter rate limiter with Redis & Java

About

Traffic spikes happen. The right rate limiter keeps your app calm under pressure. In this video, Raphael De Lio breaks down the fixed window counter—an elegant, reliable way to control API traffic with Redis. Learn how the algorithm works, how to use Redis commands like INCR and EXPIRE to manage request flow, and how to build and test a clean Java implementation with Jedis. You’ll also see how to handle real-world scenarios like multiple clients, window resets, and request limits.

7 minutes
Key topics
  1. How the fixed window counter algorithm works
  2. Using Redis commands like INCR and EXPIRE to manage counters
  3. Building and testing a Java implementation with Jedis
  4. Scenarios to validate behavior, like multiple clients, window resets, and request limits
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.