Overview

A message queue provides a lightweight buffer that stores messages until they are processed by a consumer. It allows different parts of a system to communicate without being active at the same time.

How it Works

  1. Producer: Sends a message to the queue.
  2. Queue: Stores the message safely.
  3. Consumer: Retrieves and processes the message from the queue.

Popular Tools

  • RabbitMQ
  • Apache Kafka
  • Amazon SQS

Related Terms