-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Add express rate limiting #8170
Copy link
Copy link
Closed
Labels
state:releasedReleased as stable versionReleased as stable versionstate:released-alphaReleased as alpha versionReleased as alpha versionstate:released-betaReleased as beta versionReleased as beta versiontype:featureNew feature or improvement of existing featureNew feature or improvement of existing feature
Metadata
Metadata
Assignees
Labels
state:releasedReleased as stable versionReleased as stable versionstate:released-alphaReleased as alpha versionReleased as alpha versionstate:released-betaReleased as beta versionReleased as beta versiontype:featureNew feature or improvement of existing featureNew feature or improvement of existing feature
Type
Fields
Give feedbackNo fields configured for issues without a type.
New Feature / Enhancement Checklist
Current Limitation
Rate limiting an API is something that is usually done by a separate part in an architecture, before it even reaches Parse Server. The earlier a rate limiting is enforced to prevent DOS attacks, the lower the impact of such an attack. However, not every developer may have the experience or availability of such rate-limiting components.
Feature / Enhancement Description
Parse Server should offer a basic feature for rate limiting:
Example Use Case
The following example shows an Express application that serves static files without rate limiting:
To prevent denial-of-service attacks, the express-rate-limit package can be used:
Alternatives / Workarounds
Require developer to implement a custom rate-limiter.
3rd Party References