Distributed Rate Limiter

Design and implement a production-grade API rate limiter using token bucket and sliding window algorithms. Deploy it as a middleware service backed by Redis with atomic Lua scripts.

advancedJavaSpring BootRedisLuaDocker

What you will build, step by step

  1. Requirements & Algorithm Selection
  2. Token Bucket with Redis + Lua
  3. Sliding Window Counter
  4. Spring Boot Filter & Response Headers
  5. Testing & Edge Cases