Queues

Processing Queue - all incoming tasks are added to the queue, and as soon as any worker has the capacity to process, they can pick up a task from the queue

Usage

  • asynchronous communication protocol - client not required to wait for the results

  • fault tolerance - as they can provide some protection from service outages and failures

Queues play a vital role in managing distributed communication between different parts of any large-scale distributed system.

Examples

RabbitMQ vs Kafka

Last updated