-
Notifications
You must be signed in to change notification settings - Fork 343
Open
Labels
Description
I have been (unknowingly) running into the issue described in this comment. The problem is that I am trying to implement (and test the correctness of) a layered set of throttles.
The test is giving many (seemingly) random failures, and (after reading the explanation linked above), I clearly understand why that is.
My current situation is that I have a 'baseline' throttle (250 requests per 10 minutes), and a
'bursty' throttle (let's 100 requests per 10 seconds).
Given that X requests in Y period is somewhat hard impossible to guarantee, what approach would you take at designing and testing a system that has these hard limits?