Job Manager
The Job Manager controls the execution of contracts through queues, managing them in terms of priorities and parallelism. Moreover, it controls the workload across the cluster so that it is handled properly and more efficiently.
Put simply, the Job Manager manages the execution of workflows associated with contracts.
The Job Manager component is deployed in the CEMAN. Workflow jobs are submitted to the CEMAN environment, which manages their execution and status changes.
Workflow jobs are submitted to the Job Manager and are not managed autonomously by the Workflow Engine. The Job Manager schedules workflow jobs according to the settings configured in the queues.
The flow applied is therefore the following:
- A component (Workflow Engine) submits a job specifying a queue.
- The submitted job waits to be managed by the Job Manager.
- The Job Manager verifies each job request and schedules it according to the queue’s parameters it has been assigned to.
A queue is applied to a job both to limit parallel job executions and to assign a priority to the job. Queues can be enabled – also in specific time slots – or disabled. They can also be added or deleted dynamically.
When conditions are met, the Job Manager schedules the job on the original component originating the job request and manages its lifecycle.
Updated about 1 year ago