Use a middleware to do rate limiting.