Hi, My issue is resolved. It was due to dependency injection being initialized in the constructor rather in a global.asax file.
Thank you so much for your help.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a WCF service that performs just one task - send a message to the topic.
This is performed in the below sequence.
While sending a burst of 1000 requests, the app works but the number of threads initiated always stays in waiting state. However, while these threads are waiting CPU stays at 0%. The average response time from this service is also under 100 ms avg.
What could be the potential root cause of this issue?
Hi, My issue is resolved. It was due to dependency injection being initialized in the constructor rather in a global.asax file.
Thank you so much for your help.
Thank you for responding. I think the above suggestions are not applicable to my scenario.
The WCF service (deployed on Azure App services - S1 tier) is set up as a backend app and called by API management frontend as SOAP-Passthrough option.
I am testing this service via Postman by running tests with 1000 requests with 50 ms interval.
To simplify things in the actual requirement to send messages to a topic, I implemented an extremely simple Ping method. The function of this service is to echo the request sent. Load testing this service produces the same behavior has before i.e. threads equal to the number of requests sent remain in waiting for state forever (as shown below).
Please advise what other details I can provide to get the best help.
I have also tried suggestions in this article without any success. https://learn.microsoft.com/en-au/troubleshoot/dotnet/framework/wcf/service-scale-up-slowly