Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]:Threshold-Based Load Shedding Feature #14

Open
tsideridis opened this issue Feb 23, 2024 · 0 comments
Open

[Feature Request]:Threshold-Based Load Shedding Feature #14

tsideridis opened this issue Feb 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tsideridis
Copy link

Is your request related to a problem you have?

The feature would introduce the ability to configure specific thresholds for system metrics (e.g., CPU usage, memory usage, request rate), beyond which the middleware would start shedding loads. This approach allows for finer control over when load shedding should occur, ensuring critical resources are preserved for the most important operations and complementing auto-scaling by providing an additional layer of performance management.

Describe the solution you'd like

In a scenario where an ASP.NET Core application experiences sudden spikes in traffic, auto-scaling might not immediately accommodate the increased load, leading to potential performance degradation. By setting a CPU usage threshold at 75%, the load shedding can begin shedding less critical requests, maintaining the responsiveness of the application until auto-scaling can bring additional resources online.

Are you able to help bring it to life and contribute with a Pull Request?

No

Additional context

No response

@tsideridis tsideridis added the enhancement New feature or request label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant