General web service question - IIS 7
Posted on 2014-01-08
I need a little advice regarding web services.
I am going to as a developer to write me a web service that runs a report and returns a PDF. The process involved in running the report will take approximately 5 seconds. There is nothing I can do about this. It has to be generated at the moment the caller asks for it.
Maybe this is a rather stupid question but how does IIS 7 handle multiple calls to a web service. Does a new thread get created each time a call is made… so if 5 calls are made simultaneously then 5 threads are created?
I am just wondering about performance because if there is a queue then in the scenario above the user could wait 25 seconds for the report. However if each request results in a separate thread then the reports would be ready all at the same time after about 5 seconds.