I am writing a webservice. My concern is I want to write this with threading because there can be 1000's of simutanious requests.
My concern is should I limit the amount of active threads? Each request queries another webservice then returns those results to the user. What's the best practice for this?
1. I am very new to threading, but if my webservice function creates a new thread for each request, will the program handle it without adding a simutanious thread limit?
2. Do I even need to do threading, since asp.net really is virtually creating a new thread anyways for each request, correct?
Any information to clarify will be great!
Thanks!
Thanks
My concern is should I limit the amount of active threads? Each request queries another webservice then returns those results to the user. What's the best practice for this?
1. I am very new to threading, but if my webservice function creates a new thread for each request, will the program handle it without adding a simutanious thread limit?
2. Do I even need to do threading, since asp.net really is virtually creating a new thread anyways for each request, correct?
Any information to clarify will be great!
Thanks!
Thanks
Last edited: