Automation glossary

Queue

A queue holds work items in order until a worker or workflow is ready to process them.

In plain language

It is a waiting line for tasks, so bursts of events are handled steadily instead of all at once.

Example

Incoming webhook events are placed in a queue, then processed five at a time to stay under an API rate limit.

Dead letter queue

A dead letter queue (DLQ) is a separate holding queue for items that keep failing, so they stop blocking the main queue and can be reviewed and reprocessed later.

Example: A webhook event that fails five times because a required field is missing moves to the dead letter queue, and the team gets an alert to fix and replay it.

Watch for: A dead letter queue only helps if someone checks it; without alerts and an owner, failed items sit there unnoticed and the data is effectively lost.

How to use it: Set a maximum number of retries before an item moves, store the error and original payload with it, alert when it is not empty, and make replays safe with idempotency.

Batch Processing · Rate Limit · Webhook · Retry and Backoff

Common misconception

A queue does not guarantee each item is processed exactly once; most deliver at least once, so consumers must handle duplicates.

Implementation guidance

Acknowledge items only after processing, make consumers idempotent, cap concurrency, monitor queue depth, and route repeated failures to a review list.

Primary references

← Browse every glossary term