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

.. index:: voss;voss workers

There are three buckets for transactions in the 
|VOSS-4-UC| system Priority Queue,
namely high, medium and low priority:
 
1. High Priority: 

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

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

3. 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>** 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.



.. |VOSS-4-UC| replace:: VOSS-4-UC
.. |Unified CM| replace:: Unified CM