Integrating Amazon SNS and Amazon SQS

One of the key features of Amazon SQS is that it can easily be integrated with other AWS services, such as Amazon SNS. Why would I need something like that? To begin with, let us quickly recap the things we have learned so far about both SNS and SQS:

Amazon SNS

Amazon SQS

Leverages the push mechanism

Leverages the polling mechanism

Amazon SNS messages can push messages to mobile devices or other subscribers directly

Amazon SQS needs a worker to poll the messages

Persistence of messages is not supported

Amazon SQS supports message persistence which can come in really handy if you can't reach your consumers due to a network failure


From the table, it is easy to see that both ...

Get AWS Administration : The AWS Definitive Guide to core AWS service offerings and implementing AWS in your own environment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.