Writing manually a distributed rate-limiter using Apache Ignite
Backend developers are often faced with the problem of limiting the bandwidth to protect the system from overloads. It’s not always possible to solve these problems at the level of the network balancer infrastructure or the gateway API. The task becomes even more difficult when the limits become distributed. Just imagine that clusters of tens and hundreds of JVMs must correctly apply the total limit on the rate of incoming requests, having an incoming stream of tens of thousands of requests per second.
In this talk, you will learn how to write a distributed Rate-Limiter from scratch using Apache Ignite technology and the TokenBucket algorithm, and how to get around typical performance problems when implementing a distributed Rate-Limiter.