Transaction Prioritization
--------------------------

.. index:: voss;voss workers

There are three buckets for transactions in the VOSS system Priority Queue,
namely high, medium, and low priority:
 
* High Priority: 

  * Self-service transactions: carried out by end users on the Self-service interface
 
* Medium Priority:

  * MACD operations on the VOSS Admin Portal by Administrator users
  * API-based provisioning (HIL)
  * Any other transaction not in the Low Priority bucket

* Low Priority:

  * Data Sync (LDAP, any device import transaction)
  * Bulk load transactions
  * Data import (import of data in JSON format)

From the Command Line Interface (CLI), a command is available to 
modify the default number of queue workers:

* Use ``voss workers`` to show the current number of queue workers.
  The default is 30.
* Use ``voss workers <number>`` to set the number of queue workers.

An adjustment of the number of queue workers will impact on the number of parallel
transactions that will run, which is a factor of this value as well the queue priority 
bucket to which the transaction belongs.

For example, Data Sync transactions may execute asynchronous workflows which are
executed in parallel, or a Bulk Load transaction may have the Parallel flag set to *True*.


