DELAPARRA
Index
Color
NL
Category: Core glossary

Queue

Explained by Updated

What is Queue?

Queue: A data structure (and messaging pattern) where items are processed in the order they arrive — first in, first out (FIFO). Message queues decouple producers from consumers. A queue processes items in the order they arrive: first in, first out. As a data structure it is simple; as a messaging pattern it is one of the most useful tools in backend development.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Queue

How is Queue used in practice?

A message queue sits between the part of a system that creates work and the part that does it. The web request puts a "send invoice" job on the queue and responds immediately; a worker picks it up and sends the invoice a moment later.

What should you keep in mind with Queue?

Queues make applications faster for users, absorb traffic peaks and allow retries when something fails. Monitor them: a growing queue means workers cannot keep up, and failed jobs need attention. Design jobs so running them twice is harmless, because most queues guarantee delivery at least once, not exactly once.

At a glance

CategoryCore glossary
Explained by
Updated

More Core glossary terms

All terms starting with Q

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.