Queued

Executing

Finished

Queueing demo

Most of the microservices I build support executing and tracking long‑running jobs. This demo illustrates how those jobs are queued and then processed. In the full application, you can select any job to view its details, including inputs and outputs, and even trigger a re‑run.

For demonstration purposes, each job runs for a random amount of time, and five workers are configured to compete for tasks from the queue. In addition, jobs of type GenerateReport are set up so that only one can run at a time, preventing them from executing concurrently.

Quick Tips
  • Press the Enqueue 50 jobs button to start the demo.
  • The jobs should finish in about a minute. Scroll through the finished jobs. Notice that some jobs have been simulated to fail or finished with a warning.