Worker daemon fairness
Priority
In order to improve the user experience of our applications, each job that is sent to the worker daemon is assigned a priority.
To determine the priority we have the following criteria:
Decision criteria | Decision |
---|---|
Job duration Introduced in 22.3 |
|
Chained jobs IMPROVED in 23.2 |
|
User priority | Each workflow is configured with a priority based on how quickly a user expects it to be processed. The following levels exist, from highest to lowest:
|
Organization fairness Introduced in 22.2 | Organizations are prioritized in a round-robin based fashion. For example, if a job was processed for organization A, the priority for jobs belonging to org B are increased. The upside for this is that organizations with higher loads don’t suppress jobs of other organisations |
Zone
This concept is currently only used for DAV installations.
Worker daemons can be configured to listen for jobs assigned to a specific ‘zone’. This means that a worker daemon will only process jobs assigned to its zone. Multiple worker daemons can listen to the same zone.
One of the uses of zones to make sure files are only accessed from the correct machine. For example, we want to make sure a file has been checked for viruses before they are ever processed on the dav-<env>-archive machines.
Jobs are assigned to a specific zone in their workflow. The following table shows which zones are used by which workflows.
Zone | Workflows |
---|---|
sip_ingest |
|
ingest |
|
default |
|
Â