← Questions
Repair a multi-rule rate limiter in a Django app
0
I was asked this
No reports yet. Sign in to say where you were asked it.
You get a deployed Django service (Python, with a pytest suite) whose rate limiter enforces several sliding-window rules at once, and it misbehaves. Find and fix the bugs so each rule keeps its own window, a request is counted atomically against all rules, memory stays bounded, and the limiter stays correct under concurrent requests. The work comes in a few guided steps over about 75 minutes.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Sign in to submit your code; every attempt is kept here.
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding
