1. What is the difference betweeen SQS and SNS?
SNS is like the a ‘published-subscriber’ service. SQS is like a queueing service.
2. What are some use cases for both SNS and SQS?
Choose SNS if:
Choose SQS if:
1. Describe how to use SQS and SNS in a “fanout” pattern.
In a “fanout” pattern, a message published to an SNS topic is distributed to multiple SQS queues in parallel.
2. Explain how “push notifications” work, using SNS.
Subscribers get notifications when ‘Messages’ are pushed to publishers in SNS.
1. How might a large scale, distributed application make use of a Queue system like SQS?
-
Topics - these are like ‘events’ in the ‘event pool’
SNS - simple notification service
-