SNS vs SQS

SNS vs SQS

What is SQS?

SQS or Simple Queue Service is a web service that makes it easy to coordinate work across distributed application components.

What is SNS?

SNS or Simple Notification Service is a web service that provides message delivery from publishers to subscribers (also known as producers and consumers).

So what is the difference between the two?

SQS is a pull based service, while SNS is push based.

What do we know, what have we learnt?

Message consumption:
SQS : Pull Mechanism.
SNS : Push Mechanism.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store