Capco interview question

Design a rate limiter that is scalable and modular