开发者

WCF and threadpool responsiveness under high processor usage

开发者 https://www.devze.com 2023-02-08 12:34 出处:网络
We are having trouble controlling a long running process that uses WCF to send start开发者_如何学运维/stop commands.

We are having trouble controlling a long running process that uses WCF to send start开发者_如何学运维/stop commands.

The problem seems to be that WCF does not respond to the requests when the CPU load is high. Unfortunately, high CPU on as many cores as possible is necessary for the application in question as it needs to perform a large number of numeric calculations.

Could the problem be related to the use of the thread pool to dispatch requests in WCF? This (somewhat dated) link suggests that it could:

"we don't spin up new threads when CPU usage is higher than 80%"


WCF has throttling mechanism that regulates the number of concurrent connections/sessions.

If your performance tests indicate that server can process more requests albeit having considerable load you can try to tune throttling parameters of WCF.

Here's the link with related information

0

精彩评论

暂无评论...
验证码 换一张
取 消