This repo contains code related to my presentation about token-bucket algorithm:
- Examples of non-optimal code for hand-written rate limiters.
- Examples of non-effective token bucket implementation.
- Lock free token bucket implementation.
- Distributed bucket implementation
- Examples of Bucket4j usage