Why is Fixed Window Counter vulnerable to traffic spikes?
If the window boundary is 1 minute and the limit is 100 requests, a client can send 100 requests at 00:59 and another 100 requests at 01:01. Over a two-second interval, 200 requests pass through, effectively doubling the permitted peak capacity.
Answered in
Rate Limiting Strategies Explained: Token Bucket, Leaky Bucket and Sliding WindowsHow rate limiters protect backend systems from cascading collapse, compare algorithms for burst tolerance and fairness, and handle distributed Redis state.
Read the full analysisOther questions this article answers
More system design & architecture questions
- What is the architectural difference between an API Gateway and a Reverse Proxy?
- When should an architecture use Layer 4 instead of Layer 7 load balancing?
- How do edge ingress layers prevent backend cascading thundering herds?
- What algorithm is best for sticky sessions without breaking even distribution?
- How can a CDN improve performance for dynamic requests?
- What is the hardest part of operating behind a CDN?
- How can a CDN help with traffic surges or DDoS attacks?
- What is the difference between a Push CDN and a Pull CDN?
Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the System Design & Architecture beat.