---
title: Traditional Work Queue
description: The Traditional Work Queue is a type of work queue that uses a number of worker threads that watch a queue and pick up an operation to process whenever one becomes available.
component: pingds
version: 8.1
page_id: pingds:configref:objects-traditional-work-queue
canonical_url: https://docs.pingidentity.com/pingds/8.1/configref/objects-traditional-work-queue.html
section_ids:
  parent: Parent
  traditional_work_queue_properties: Traditional Work Queue properties
  basic_properties: Basic properties
  num-worker-threads: num-worker-threads
  advanced_properties: Advanced properties
  java-class: java-class
---

# Traditional Work Queue

The Traditional Work Queue is a type of work queue that uses a number of worker threads that watch a queue and pick up an operation to process whenever one becomes available.

The traditional work queue is a FIFO queue serviced by a fixed number of worker threads. This fixed number of threads can be changed on the fly, with the change taking effect as soon as it is made. You can limit the size of the work queue to a specified number of operations. When this many operations are in the queue, waiting to be picked up by threads, any new requests are rejected with an error message.

## Parent

The Traditional Work Queue object inherits from [Work Queue](objects-work-queue.html).

## Traditional Work Queue properties

You can use configuration expressions to set property values at startup time. For details, see [Property value substitution](expressions.html).

| Basic Properties                          | Advanced Properties       |
| ----------------------------------------- | ------------------------- |
| [num-worker-threads](#num-worker-threads) | [java-class](#java-class) |

### Basic properties

Use the `--advanced` option to access advanced properties.

### num-worker-threads

|                         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| *Synopsis*              | Specifies the number of worker threads to be used for processing operations placed in the queue.                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| *Description*           | If the value is increased, the additional worker threads are created immediately. If the value is reduced, the appropriate number of threads are destroyed as operations complete processing. By default, for systems with fewer than 12 CPUs a value of 24 will be selected; for larger systems the number of worker threads selected will be equal to twice the number of available CPUs. Take care when changing the default configuration. Test the performance impact of each change before deploying it to a production environment. |
| *Default value*         | Let the server decide.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| *Allowed values*        | An integer.Lower limit: 1.Upper limit: 2147483647.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| *Multi-valued*          | No                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| *Required*              | No                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| *Admin action required* | None                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| *Advanced*              | No                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| *Read-only*             | No                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |

## Advanced properties

Use the `--advanced` option to access advanced properties.

### java-class

|                         |                                                                                                               |
| ----------------------- | ------------------------------------------------------------------------------------------------------------- |
| *Synopsis*              | Specifies the fully-qualified name of the Java class that provides the Traditional Work Queue implementation. |
| *Default value*         | org.opends.server.extensions.TraditionalWorkQueue                                                             |
| *Allowed values*        | A Java class that extends or implements:- org.opends.server.api.WorkQueue                                     |
| *Multi-valued*          | No                                                                                                            |
| *Required*              | Yes                                                                                                           |
| *Admin action required* | Restart the server for changes to take effect.                                                                |
| *Advanced*              | Yes                                                                                                           |
| *Read-only*             | No                                                                                                            |
