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

Support for dynamic concurrency #85

Open
manast opened this issue Nov 19, 2024 · 0 comments
Open

Support for dynamic concurrency #85

manast opened this issue Nov 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@manast
Copy link
Contributor

manast commented Nov 19, 2024

We would like to explore the possibility to allow defining a concurrency setting that instead of being fixed for a Worker would be dynamic, based on the CPU usage of the worker, if the CPU is very high then the concurrency will be decreased, if it is under a given level it would be increased. These would settings that could be tweaked for every worker.
Here some information on how to achieve this CPU usage detection:
https://nodejs.org/api/perf_hooks.html#performanceeventlooputilizationutilization1-utilization2
https://nodesource.com/blog/event-loop-utilization-nodejs/

@manast manast added the enhancement New feature or request label Nov 19, 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