Published on

AWS SNS and SQS

Authors

AWS SNS and SQS

AWS SNS and SQS

Amazon Simple Notification Service (SNS)

Is a fully managed messaging service for both application-toapplication (A2A) and application-to-person (A2P) communication.

  • It consists of two important parts, one is Topics and the other is Subscriptions.
  • SNS works on PubSub Model
  • From being a PubSub, there are always two parties, one is Publisher and the other is Subscriber

PS: When a message is put in SNS, it will be provided to all listeners of the topic this message was added

Fallback text 1

AWS Simple Message Queue Service (SQS)

Is a fully managed message queuing service. Using SQS, we can send, store, and receive messages between software components at any volume, without losing messages or requiring other services to be always available.

  • Producer adds the messages in the queue and Consumer will receive the message and remove from the queue.

PS: In a real-world scenario we would came to some situations where we use both of them together.