Amazon SQS FIFO versus Amazon MQ

20 Nov 2024

Learn how Amazon SQS FIFO differs from Amazon MQ.

Amazon SQS FIFO Amazon MQ
Scaling

3000 msg/sec (batch write)

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

Max. message size

256 KB

limited by disk space

Persistence

up to 14 days

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

Lambda

Lambda

License

AWS only

open source (Apache ActiveMQ)

Encryption at rest

yes

yes

Encryption in transit

yes

yes