Task Queue

Noun · Development

Definitions

  1. A data structure or service (like Celery, Sidekiq, or Bull) that holds units of deferred work in a FIFO or priority queue, allowing producer processes to enqueue tasks and worker processes to consume and execute them asynchronously, decoupling task submission from execution.

    In plain English: A waiting line for background jobs, where tasks are added by one part of the system and picked up by another when it is ready.

    Example: "Thumbnail generation goes into the task queue so the upload endpoint returns immediately and a worker processes the image in the background."

Related Terms