Amazon Interview Question

design a rate limiter/notification system