Message Delivery By David Boyne

Message Delivery By David Boyne

Message Delivery

Different systems will provide different messaging solutions, understanding these can help you understand how your messages will be given to downstream services.

At-most-once delivery

  • Delivery means message will be delivered once
  • If it fails it can be lost

At-least-once delivery

  • Message may duplicate to consumer.
  • Multiple attempts can be made to deliver message.
  • Important to have idempotent consumers
  • Multiple attempts can be made to deliver the message to the target until one succeeds. This means messages can be duplicated but not lost.

Exactly-once delivery

  • Message is given to the target exactly once
  • Message cannot be lost of duplicated

Extra resources

Download EDA Visuals

Join over 8,000 others learning EDA and download all the EDA visuals directly to your computer. This document updates everytime a new visual is added so make sure you come back to get the latest.

Download now →
Diagrams and thoughts by @boyney123 to help you learn.