Skip to content
Discussion options

You must be logged in to vote

Out of curiosity: Which .NET version do you run on? The ThreadPool has been rewritten in .NET 6 - @kouvel can provide more info.

On lower version of .NET, the ThreadPool (and YARP) can scale, it just takes incremental load increase to scale well. If there is spike, ThreadPool does not respond that well. There is a workaround to adjust ThreadPool.SetMinThreads to match the needs of your workload if you expect certain load.
Would that help your situation?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by karelz
Comment options

You must be logged in to vote
2 replies
@samsp-msft
Comment options

@stephentoub
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants