-
Notifications
You must be signed in to change notification settings - Fork 94
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
Throttling of deno execution #629
Comments
Can you provide some more details into what kind of throttling are you looking for? |
Basically, the point is that I have an agent-like structure in certain use cases. I then start a .js/.ts entrypoint using deno_core. To better distribute the load or prioritise other tasks, I would like to manually throttle the execution of the JavaScript/TypeScript code and let the CPU focus more on something else. In my opinion, it is easier to limit the memory usage. But CPU utilisation is the crux of the matter. Do you have any ideas? |
This might be related to denoland/deno#13654 |
@deeprobin the solution for you is to use |
Hey,
in my rust infra I currently schedule some Deno-"tasks".
Is there a way to manually throttle the Deno execution without using OS APIs?
The text was updated successfully, but these errors were encountered: