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

Read the report
Rate limiters with Redis

Token bucket rate limiter with Redis & Java

About

When it comes to API traffic, flexibility is key. In this video, Raphael De Lio breaks down the token bucket algorithm—one of the most adaptable ways to manage rate limiting with Redis. Learn how the algorithm controls request flow, why Redis is the perfect fit, and how to implement it step by step in Java with Jedis. You’ll also explore how commands like GET, SET, and MULTI/EXEC make token handling efficient and reliable, and how to test your implementation in real-world scenarios.

8 minutes
Key topics
  1. How the token bucket algorithm works and its advantages
  2. Using Redis commands like GET, SET, and MULTI/EXEC to manage token consumption
  3. Building and testing a Java implementation with Jedis
  4. Scenarios to validate behavior
Speakers
Raphael De Lio

Raphael De Lio

Developer Advocate

Latest content

See all
Image
Event replays
AI-powered spreadsheets: Let AI agents gather, structure, & act on your data
23 minutes
Image
Event replays
Scaling Raymond James' chatbot from idea to production
27 minutes
Image
Event replays
How Amgen scans millions of documents to develop life-saving drugs faster
29 minutes

Get started with Redis today

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