Create Queues#

This how-to explains how to build Queues in Dioptra. Queues logically represent a queue of jobs for workers to pull from.

Note

In order for a queue to be effective, Workers which listen on that queue are necessary.

If the worker is already created and running, check what queue name it is using and create if it doesn’t exist.

If the queue you created has no worker, then you will need to start one, as the jobs sent to that queue will not be processed without a worker.

Prerequisites#

Queue Creation Workflow#

Follow these steps to create and register a new queue. You can perform these actions via the Graphical User Interface (GUI) or programmatically using the Python Client.

Step 1: Create the Queue#

Register a queue for a specific group, with a name and a description.

In the Dioptra GUI, navigate to the Queues tab. Click Create. Enter a name and, optionally, a description, select a group for the queue, then click Confirm.

Note

Dioptra does not currently support the creation of additional groups. All resources are under the same default public group.

Step 2: Associate your Queue with Existing Entrypoints#

In the Dioptra GUI, navigate to the Entrypoints tab. Click one of the existing entrypoints to add the newly created queue to.

Under Basic Info, select the queue you just created for Queues. Click Submit Entrypoint when finished.

See Also#