Deloitte Interview Question

Explain how you would implement a rate limiter in a web application.