The Job Prioritization feature provides users with the flexibility to prioritize the execution of Gears, allowing for improved efficiency in user workflows such as data curation, quality control, and other user-initiated tasks in the system. With the ability to set priorities for ad-hoc Gear runs and batch Gears, users can reduce their wait time and have more control over the scheduling process. In addition, automated Gears can also be prioritized based on their specific purpose, resulting in productivity improvements for users.
Job Priority Levels
The Job Prioritization feature provides four priority levels for Gear jobs:
When no priority is explicitly set, the default priority level is medium.
Set the Priority of Individual and Batch Gear Jobs
Users have the ability to set the Job Priority for both ad-hoc Gear runs and batch Gear runs. The priority information provided will be used in the Job scheduling process to insert the Job into the proper place in the queue.
Single Gear run:
Batch Gear Run:
Modifying Priority of Enqueued Jobs
In addition to ad hoc jobs, users also have the ability to modify the priority of existing enqueued jobs individually or in bulk, as long as these jobs have not started yet. This feature allows users to influence the jobs picked up by the scheduler and prioritize certain jobs over others.
To modify the priority of enqueued jobs:
- Ensure that you have the appropriate permissions to manage the jobs.
- Navigate to the Jobs Log, check the box next to the job(s) you want to modify the priority of.
- Select Update Priority from the Action menu.
- Enter a new priority and then click Update Priority.
Note: Changing the priority of jobs may not always guarantee immediate execution. Custom configuration, as well as resource availability, can also affect job execution order. When there are multiple jobs with the same priority, the job with the earliest creation timestamp will be picked up first.
Job Priority in Gear Rules & Gear Rule Templates
To set the priority for jobs initiated by a given Gear rule, simply select the desired "Job Priority" level from the dropdown when configuring the rule, as shown below.