WCF service routing, a bottleneck?

浪尽此生 提交于 2019-12-05 21:33:15

No a WCF service shouldn't be expected to cause you such a major bottle neck, but it's difficult to give an exact answer when we don't know exactly what your WCF service does, nor how it is configured, but as you said:

Without routing we can handle about 120 concurrent users before getting timeout errors and although we get timeouts the IIS keeps handling requests. With the router the IIS stops handling requests with about 20 concurrent users and never resumes handling any requests throughout the rest of the load-testing.

I think that you've answered your own question with regard to the WCF service causing problems. You'll obviously need to check how it is configured, run and what it does with the "routing".

edit

Have a look here at some issues that can affect WCF performance.

Looks like our problem was with application pools on the IIS, since the routing service and the services it routed to was using the same application pool the following happened: the IIS created threads for the requests going to the router-service.. the routing-service made requests to the services routed to that the IIS created new threads for - worked fine until there where no more threads available and all the threads where routing-service requests waiting for the IIS to handle their request, i.e. the IIS got deadlocked.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!