-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Context and Motivation
We need rate limiting to ensure untrusted users don't spam requests (e.g. new comments over and over).
We currently use echo on front_api; https://echo.labstack.com/docs/middleware/rate-limiter is a promising option, but we primarily want to limit POST requests, not GET requests. Cloudflare should handle GET request concerns.
Prerequisites
I'd recommend learning about the following topics before approaching this:
- Golang (going through A Tour of Go is sufficient)
- Echo (read some of the docs)
- (optional unless reimplementing from scratch): https://en.wikipedia.org/wiki/Token_bucket
Goals
- Rate limit POST requests, maybe by user privilege
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed