Azure worker role - background tasks schedule?

Adding to @Simon Munro's answer: Yet another way to implement task scheduling without external scheduler dependencies is by making use of Quartz library ( http://quartznet.sourceforge.net ) in your worker role. I've used it in one of the project and it works extremely well. It gives you a lot of flexibility as far as scheduling tasks are concerned.

You would still need to make of blob leasing and Windows Azure Queues to take care of concurrency issue among multiple instances of your worker role.

Rolling your own scheduling is not a good idea. You get into all sorts of problems unless you lock the data that you are reading. Can you, for example, scale up to tens or hundreds of the same worker role and be sure that each job is only being run the required number of times.

You may have to 'lock' your tasks using something like the leases on blob storage.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions