Amazon SNS FIFO versus Amazon MQ

04 Dec 2024

Learn how Amazon SNS FIFO differs from Amazon MQ.

Amazon SNS FIFO Amazon MQ
Scaling

3000 msg/sec (batch write) or 10 MB per second

80 msg/sec; can be increased with a network of brokers

Max. message size

256 KB

limited by disk space

Persistence

no

forever (up to 200 GB)

Replication

Multi-AZ

Multi-AZ (optional)

Order guarantee

yes

yes

Delivery guarantee

exactly-once possible

exactly once; supports distributed (XA) transactions

Pricing

per message

per broker hour + used storage

Protocols

AWS Rest API

JMS, AMQP, MQTT, STOMP, OpenWire

AWS Integrations

SQS FIFO

Lambda

License

AWS only

open source (Apache ActiveMQ)

Encryption at rest

yes

yes

Encryption in transit

yes

yes