Reputation: 163
I have an ASP.NET 4.5 Web API Application over IIS 8.5.
The server is an AWS EC2.
I have an ActionFilter
that logs incoming request URL. So essentially it logs the first time the request "enters" my application.
I am issuing 2 request simultaneously (using Postman) and I see that my ActionFilter
is not invoked my 1st request finishes.
Those request involve an async-await pattern over a DB query.
I did it twice:
ApiController
)I am using the IIS "out-of-the-box" settings.
ThreadPool
threads should be able to handle multiple synchronous calls, right?Thanks!
Upvotes: 0
Views: 477
Reputation: 163
Problem was that Postman/Chrome is sequencing the requests to the same domain. So it's client side limitation only.
Issuing request from multiple machines caused the IIS to respond in parallel.
Thanks everyone!
Upvotes: 1