What is rate limiting and how do you implement it?

Technical