Rate Limiter Coding Question