Prioritizing tasks
Posted: Tue, 06/03/2008 - 14:20
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.








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
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