Generalize the rate throttling mechanism.