AllQ
  • What is AllQueue?
  • Getting Started
  • Install
    • Why AllQueue?
    • Architecture
    • 1. Install AllQueue Server
    • 2. Install AllQueue Client
    • Installation (Quick Start)
  • Foundational Concepts
    • Talking to AllQueue
    • Server/Client
    • Jobs
    • Tubes
    • Persistence
  • Features
    • Autobury Failed Jobs
    • Delayed Jobs/Scheduling
    • Priority
    • Workflow
    • Throttle
    • Fair Queuing
  • Configuration
  • Rest API Usage
  • Scenarios
  • Advanced
    • Docker Configuration Options
    • Federation Deployment
Powered by GitBook
On this page

Was this helpful?

  1. Foundational Concepts

Jobs

Atomic Unit of Work

A "job" is an atomic unit of work that is put into a tube.

Generally, a job consists of a chunk of JSON text that is put into the tube

When adding a job to a tube, you need to set a TTL (Time To Live) on a job, which indicates how long a consumer has to process a job.

When a job is reserved from a tube it is temporarily removed from the tube, and the process reserving the job has a certain amount of time (TTL) to process that job, otherwise the job is automatically put back into the tube.

Jobs can have the following actions performed on them

  • Delete (remove from tube)

  • Touch (reset TTL, allows the job to be reserved for longer than TTL)

  • Bury (put job in "buried" state, aka dead letter queue)

  • Release (release job back into tube)

PreviousServer/ClientNextTubes

Last updated 5 years ago

Was this helpful?