First of all, what is a rate limiter and why do we use it?

There are some core ways in which we can implement a rate limiter in the system:

1st - Defining the requirements and asking pre-clarifying questions

In the first 5-10 minutes or so, we can ask some questions, related to the things we’ve mentioned above. Qs like:

We need to ask questions that will help us get a broader picture of what the interviewer wants us to do and how should we go about designing the limiter..

Before diving into designing the rate limiter in our system, we can go over the different algos we can use:

Algorithms