messaging

Overview

How to decoupe your applications

  • SQS: queue model

  • SNS: pub/sub model

  • Kinesis: real-time streaming model

Architecture

  • Fan-out pattern

SQS vs SNS vs Kinesis

SQS

SNS

Kinesis

Features

- Data is deleted after cosumming - Have as many consumers as we want

- Push data to many cosumers (max: 12.5 mil) - Data will lost if not delivered

- Standard: pull data - Enhanced-fan out: push data

Order

only guarantess using FIFO queue

no, FIFO can be achieved when integrate with SQS FIFO

ordering at shard level

Provision

no need

no need

2 modes: provision & on-dmand

Last updated