Throttling Task.Run #62483
Unanswered
TonyValenti
asked this question in
Q&A
Throttling Task.Run
#62483
Replies: 1 comment
-
See e.g. Limiting concurrency for faster and more responsive apps which uses the Or you could limit the work with a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a highly concurrent app that transfers data between systems.
I would like to implement throttling in it so that it does not bombard the source/dest systems.
I think the best way to do this is with a custom thread pool that is limited to X number of concurrent threads.
How do I create a custom thread pool and ensure that all Task.Runs from inside that thread pool stay on that thread pool?
Beta Was this translation helpful? Give feedback.
All reactions