The rate limiter pattern is a special counter that is used to limit the rate at which an operation can be performed.
There are a few classes of rate limiting or velocity checking you can do:
- Per user or API key: ensure that any given user account or API account key holder can only perform (n) actions per minute.
- Per IP address: ensure that any given IP address can only perform (n) actions per minute.
- Per global action: ensure that a particular action can ...