How To Limit API Calls With Spring Boot And Redis



How To Limit API Calls With Spring Boot And Redis

How To Limit API Calls With Spring Boot And Redis

Hey folks! 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. The rate limiter is registered using an ExchangeFilterFunction with Spring WebFlux. To automatically reset limits I’ll be using Redis as a datastore.

🙌 Get in Touch
Join my newsletter and say hi at https://alexgutjahr.com, or find me on Twitter https://twitter.com/heyalexgutjahr

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

Comments are closed.