Can I change the number of worker role instances while the application is running.
I created an application that executes a sequence of code in parallel several times depending on the user request. Say, if the user asks for a result that will be very accurate, then I will have to run the code for 1000 or more times in parallel on different data sets. If the user does not request the result to be accurate, then I will run the code 5 times in parallel. This sequence of code is performed by a working role. I launched my application with the number of working role instances equal to 5. If the user requests the result very accurately, then I can increase the number of working role instances to say 20. As soon as the request is complete, I will return the instance count by 5.
Can I do it. How can i do this. Will the application restart if I do this.
source
share