Whenever you're ready, walk me through how you'd approach this.
Design a rate limiter to ensure API calls do not exceed a given QPS limit.
Asked in the Onsite stage. This is a system design round where the candidate proposed Token Bucket and Sliding Window algorithms. Reported follow-up: How would you ensure consistency when implementing this rate limiter in a distributed environment?