Spring Hire Sale
Limited Time Deal: Unlock all premium questions for over 30% off
$10.42$7.08
08
:
04
:
50
:
04
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.
...