How To Limit API Calls With Spring Boot And Redis

Опубликовано: 18 Март 2026
на канале: Alex Gutjahr
5,443
70

Hey folks! In this tutorial, I'll demonstrate how to impose a rate limit on your API clients by ensuring they can only perform a certain number of requests in a given interval. The rate limiter is registered using an ExchangeFilterFunction with Spring WebFlux. I'll use Redis as a data store to automatically reset limits.

🍃 Grab the code
https://axgr.dev/posts/spring-rate-li...

🙌 Get in Touch
Join my newsletter and say hi at https://axgr.dev/newsletter/?utm_camp...

🍿 Subscribe if you want to see more Spring Boot + Kotlin tutorials!