Backend developers are often faced with the challenge of limiting bandwidth for various purposes. And it is not always possible to solve these problems at the infrastructure level. The task becomes even more complicated when our system is distributed. Just imagine that clusters of tens and hundreds of JVMs must correctly comply with the overall limit for the cluster on the frequency of incoming requests with an incoming flow of tens of thousands of requests per second. To solve all these problems and more, the Bucket4j library will help us.
Talk Level:
INTERMEDIATE
Bio:
Co-author of Bucket4j, the world's most popular Java library for bandwidth constraint solutions, and co-author of the book "Spring Rest Building Java Microservices and Cloud Applications"