
Day 4 of Building System Design in Public ๐
​
Today I implemented a Fixed Window Rate Limiter using Java, Spring Boot, and Redis.
What I learned:
- โ How Fixed Window rate limiting works
- โ Why it's simple and fast
- โ The boundary problem (traffic spikes at window edges)
- โ When to use Sliding Window, Token Bucket, and Leaky Bucket instead
Building these concepts from scratch has helped me understand the trade-offs much better than just reading about them.
I'm documenting my journey one topic at a time. Tomorrow I'll be implementing the Sliding Window Counter algorithm.
Feedback is always welcome. What rate-limiting algorithm do you use most in production, and why?