-
-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Use a TDD approach to verify correctness of the Token Bucket algorithm used for rate limiting incoming GraphQL requests.
Testing should not be concerned with computing an incoming requests complexity. Each request should be considered to consume 1 token.
Testing should verify the following;
- Requests are limited as expected based on user IP address.
CAPACITYandREFILL_RATEare accepted input parameters.- Size of the token bucket never exceeds the set
CAPACITY - Token bucket is refilled at the provided
REFILL_RATE
Metadata
Metadata
Assignees
Labels
No labels