DSO Shared Work Queue

You need to have JavaScript enabled.

This sample application demonstrates using DSO to easily create a shared work queue. Each instance of the application provides as service to add items into the queue, as well as consumers to the contents of the queue.

The Queue

When you click the Start button the Queue will be populated with however many number of jobs you've indicated in the number of jobs to create field.

Number of jobs to create:

The 3 digit numbers below represents a job that may be consumed.

The Workers

As soon as a Job becomes available in the Queue, a Worker, provided it's own job queue is not yet full, will grab and proceed to consume it.

Each node spawns a worker. The more nodes you have running, the more workers you'll see listed below. The 3 digit numbers in each box beside each worker represent the jobs they have grabbed from the Queue