Time Interval Tasks in Azure

My application that runs on Windows Azure processes incoming requests from the user (which are placed in the Azure queue) and assigns them to real people.

People have a certain amount of time to process a request. If none of the designated people processes the request, I need to move on to a new set of people. Basically, I want these tasks to be processed at a specific time, and then process them again. If one of the users processes the task, I need to remove it from the queue so that the worker is not processed again.

+5
source share
1 answer

You need to use the scheduled task. There are two good libraries you can use: Quartz.Net and Bookmark Scheduler .

With the help of the scheduler, such a task becomes easy. You just create a task that runs after processing time. There you can check any unprocessed requests and, if there are any, you will notify about the next set of people and set another scheduled start after the end of the processing time.

Let me know if you need more information.

I used Quartz.net in azure webrole successfully in a production application.

+3
source

All Articles