We have a product made of two components. A WEB API site hosted under IIS 8 which I call it API. This site provides services to multiple sites however at the moment only one web site is using it. The other component of this site is a ASP.NET MVC (.NET 4) site that is at the moment the only client of the API site. Let's call it WEB.
When we deployed the API and WEB to a single server with production capacity everything was fine until when the number of concurrent users exceeded 16! Then the site became unresponsive which means that we did not get a Timeout (or any other) errors and the browser was waiting for a response for good.
We reproduced the same issue in our staging environment using an online load test web site. Again the site becomes unresponsive when the number of concurrent users exceeds 12 or 16 (or higher).
When this happens the site kind of dies for like 10 minutes and then becomes responsive. I guess this is because the App Poll gets recycled?
The question is that how can I know if the problem resides in the API or in WEB? Then what could be the possible issue? WEB totally relies on API and does not connect to any databases directly but API is using MySql on AWS.