Question d’entretien chez OfferUp

How would you implement rate-limiting in code?