Queue, Pub Sub and Event Streaming - MacKittipat/note-developer GitHub Wiki

Queue

  • Queues operate on the principle of first in, first out (FIFO)
  • Point-to-point: The fundamental concept of Queues is, they are point-to-point messaging; even though there may be multiple senders of messages, there is only one receiver of the messages.

Pub/Sub

  • There can be multiple receiver of the messgae.1
  • No guarantee of message delivery because of the decoupled nature of the model

Event Streaming

  • Client can read from any part of the stream and the client is solely responsible for advancing their position in the stream. This enables the client to join at any given time and to replay events.