Implementing Rate Limits with Bucket4j: Local Token Buckets and Distributed Limits
Use Spring MVC and Bucket4j to separate burst capacity from refill rate, and understand Retry-After, singleton reuse, and Redis distributed limits.
bucket4j / rate-limit / token-bucket↗