Work queue writers

Whenever the writer thread awakes or starts on demand, it checks the work queue table for any work items that remain from a prior batch. The specific configuration of each work queue determines how the work queue creates and processes work items.

The following workflow examples provides a simple description of how PolicyCenter work queues operate.

Work items remaining

If work items remain from a previous batch, the following sequence of events occur:

  1. The writer thread notifies the workers that they have work to process.
  2. PolicyCenter terminates the writer thread.

No work items remaining

If no work items remain from a previous batch, the following sequence of events occurs:

  1. The writer thread selects items for a new batch.
  2. The writer writes the identifiers of the selected items to the work queue table.
  3. The writer notifies the workers that they have work to process.
  4. PolicyCenter terminates the writer thread.