July 4th Sale
Limited Time Deal: Unlock all premium questions for over 40% off
$10.42$6.25
10
:
09
:
29
:
29
Back to Dashboard
Request Rate Detector
Hard
An API gateway monitors requests to detect abusive clients. Implement the RequestRateDetector class.
configure(limit: int, window: int) - Initializes the detector with limit, the maximum number of allowed requests, and window, the size of the sliding time window in seconds.
...