I'm trying something a little weird with the azure cloud service technology. I want to use the autoscaling for both up and down changes.
I'm going to have some instances that are "In Use" though.
Is there any way in a cloud service to either: Mark an instance as non-recyclable or Abort the teardown of an instance in the WorkerRole.OnStop method
If not, what criteria does azure use to determine what gets recycled? Maybe I can keep the instance in a state where azure won't recycle it?
Thanks
See Azure Compute Service worker becomes "busy" following scale-up . In short, your role instances should not be recycling during scaling operations. If they are, then check the code in your Changing event per the link.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.