โ† Microsoft questions

Implement throttling and rate limiting for API requests

Filed under Microsoft

The question

Design throttling for a website and handle an attacker hitting an API by responding with 'try after sometime' if a threshold is exceeded based on a sliding window algorithm.

No write-up yet. Related questions below have one.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.