- Create a queue named
autoscale.[your_role_name].instance_count - On the management portal, set the auto-scale to
Queue . - Set the Target Count field to
1 .
Now you can use the standard enqueue and dequeue operations in this queue to control the number of worker role instances. You have 7 days to process the message before it expires, so you can create a working role that can ensure that the number of messages in the queue keeps track of your target instance account.
If you use dynamic elasticity, you probably already have a role-based brain controller, so this is probably not a problem.
davidzarlengo
source share