How to Limit API Calls with Spring Boot and Redis

Posted on Feb 19, 2021 in
Reading time: 1 minute

Intro

In this tutorial I’ll demo how to impose a rate limit on your API clients, by making sure they can only perform a certain number of requests in a given interval. To automatically reset limits I’ll be using Redis as a datastore.

🍿 Watch on YouTube or get the code from GitHub

The Dead Letter Queue

Love what you're seeing? By subscribing to my newsletter, not only will you be the first to know about fresh tutorials and videos, but you'll also unlock:

Subscribe now and become a part of our growing tech tribe!