azure - Programmatically spawn new instances of a worker role -


is possible programmatically spawn new instances of worker role? have worker role that's dependent on service bus queue(s) grabs messages , puts data table storage, sql database , sends out notifications. need able add more instances depending on sb queue sizes can gradually receive larger amounts of messages in future. possible me control code? , in case how?

there multiple ways achieve functionality:

1) windows azure supports auto-scaling based on amount of messages in service bus queues. can configure scaling work inside azure management portal. free while in beta, , price has not yet been announced when live.

2) there open-source api called wasabi microsoft's patterns , practices group. you'll need place host it, it'll communicate azure service management api on behalf , provide framework implementing own auto-scaling based on service bus queues. using it, instrumenting configuration xml files

3) if don't mind using 3rd party products & services, there service called azurewatch (which i'm affiliated with) give way scaling based on service bus queues azure portal, it'll have bunch of other choices, features , services.

4) can use service management api directly change instance counts, don't recommend using directly api's such wasabi being around.

i wrote blog on auto-scaling choices http://blog.paraleap.com/post/2013/07/29/windows-azure-auto-scaling-options-side-by-side-comparison


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -