Stopping API Abuse: Migrating from Fixed Window to Redis Sliding Window (Lua Implementation)
At 00:00:01, our database CPU spiked to 98%. We were supposed to have strict API Rate Limiting in place—capped at 1,000 requests per minute. Yet, monitoring logs showed nearly 2,000 requests slipp…