SNS vs. SQS Cheat Sheet

It could be confusing to compare the two as SNS does utilize a queue internally.

The main difference is that SNS cares mostly to “push the messages out”, while SQS focus on “letting user pull messages”.

SNS is designed to push messages to multiple recipients. It cares about message delivery, but not consumption. It is more like a dispatcher.

SQS is designed to be able to store messages and let user pull the messages, consume them and then delete upon request. It is more like a cache.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s