EPAM Systems interview question

How would you design the rate limiter?