I have a web application running on .net 4.0 and IIS7. When a form is submitted I have to invoke two external web services, wait for the responses, do something with it, and return the response. The problem is that the web services take about 20 seconds each to reply (this is beyond my control). I decided to move to an async approach so I can hit both services at the same time as oppose to hitting one wait for the response and then hitting the other one.
Now if I get 10 users submitting at the same time I will create 20 outbound requests on 20 separate threads. I read that IIS might not be so happy with this since the limit is set to 12 outbound TCP connections per CPU (maxconnections in machine.config). Can someone please confirm this? Is there anything else I should be thinking about in this particular scenario to ensure that IIS plays nicely?
Thanks!