Prioritizing tasks

sekhar 
Joined: 2008-05-27
Posts: 5
User is offline
Prioritizing tasks

Hi,

Can tasks be prioritized? From my understanding of the documentation, a task can be set to 'exclusive' policy which means that no other task will run on the same machine. But thats not the same as priority. Given a set of 10 tasks, I would like to assign at runtime a priority to each of them that determines the dispatch order.

guerry  Appistry employee
Joined: 2007-12-21
Posts: 66
User is offline

sekhar wrote:
Hi,

Can tasks be prioritized? From my understanding of the documentation, a task can be set to 'exclusive' policy which means that no other task will run on the same machine. But thats not the same as priority. Given a set of 10 tasks, I would like to assign at runtime a priority to each of them that determines the dispatch order.

Hi Sekhar,

At this time, we do not have task prioritization implemented in the fabric. This is a feature under consideration.

Also, to be clear about the meaning of exclusive: setting the exclusive policies limit how many "exclusive" tasks can run on a given worker concurrently, but does not restrict non-exclusive task execution.

Thanks,

Guerry

guerry  Appistry employee
Joined: 2007-12-21
Posts: 66
User is offline

I should add that we and customers have used FAM queues to hold and prioritize work requests, and then use a fabric background task or a limited task running a thread, to monitor the queue, and submit jobs to the fabric based on priority or whatever criteria.

Thanks,

Guerry