Domanda di colloquio di OfferUp

How would you implement rate-limiting in code?