It's important to have a mechanism that allows control of the number of requests per time unit. This will provide a way to control an unintentional (or intentional) DOS.
Implementation
Create a decorator appier.requests that receives the number of requests per minute allowed for the action method in the controller.
The implementation should take inspiration from PreflightPart.
Description
It's important to have a mechanism that allows control of the number of requests per time unit. This will provide a way to control an unintentional (or intentional) DOS.
Implementation
Create a decorator
appier.requests
that receives the number of requests per minute allowed for the action method in the controller.The implementation should take inspiration from
PreflightPart
.Inspiration