Implementing a Distributed Rate-Limiter on Apache Ignite by Hand
summary
Explains how to implement a distributed rate limiter from scratch using Apache Ignite and the Token Bucket algorithm to enforce cluster-wide request limits across many JVMs. Covers solving throughput-limiting problems when infrastructure-level throttling is insufficient and addresses common performance pitfalls in distributed rate-limiter implementations for high request rates.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 2:40Speaker intro
- 3:21Talk goals
- 4:05Rate limiting need
- 6:13Corporate messenger case
- 7:58Token bucket basics
- 11:55Lock-free implementation
- 19:04Distributed challenges
- 21:34Synchronization methods
- 26:58Tech selection criteria
- 29:03Why not RDBMS
- 31:12CAS limitations
- 33:46Ignite choice
- 34:51Ignite compute grid
- 37:01Transaction isolation
- 38:48Distributed implementation
- 43:13Code comparison
- 45:42Performance tuning
- 47:54Batching requests
- 51:53Summary
- 54:01Q&A
