Protecting the service.
WHAT ABUSE LOOKS LIKE
Automated signups Trials created repeatedly Excessive usage degrading others Using the product to send unsolicited messages Hosting harmful content, where you allow uploads
WHY THAT LAST ONE MATTERS
Your infrastructure and reputation bear the consequence.
WHAT RATE LIMITING PROVIDES
Protection from both abuse and accidental overuse.
WHAT TO LIMIT
Requests per account Expensive operations specifically Message sending Signups from one source
WHAT TO RETURN
A clear response stating the limit and when it resets.
WHAT TO AVOID
Limits so tight that legitimate use is blocked Limits with no explanation
WHAT TRIAL ABUSE LOOKS LIKE
Repeated signups to avoid paying.
WHAT REDUCES IT
Requiring a verified email Detecting disposable addresses Requiring payment details, where appropriate Limits on what a trial can do
WHAT TO MONITOR
Usage far outside normal patterns.
WHAT THAT INDICATES
Abuse, a defect, or a customer who needs a different plan.
WHAT TO DO
Investigate before acting.
WHAT TO DEFINE
Acceptable use, in your terms.
WHAT TO BUILD
The ability to suspend an account immediately.