DECOUPLE & OPERATE Messaging

Amazon SNS (Simple Notification Service)

Pub/sub topics push one message to many subscribers. Covers A2A and A2P delivery.

Official AWS Reference https://docs.aws.amazon.com/sns/latest/dg/welcome.html ↗
SCOPE Regional
HIGH AVAILABILITY Multi-AZ Compatible
RESILIENCE Production Grade

// DECISION LOGIC MATRIX

✓

When to Choose

One event must hit several targets at once: Lambda, SQS, email, SMS.

✕

When to Avoid

Workers must pull a backlog at their own pace. Use SQS.

// EXAM TRAPS & SIGNAL KEYWORDS

pulling messages, buffering a backlog, worker polls the queue

// OFFICIAL AWS REFERENCE

AWS https://docs.aws.amazon.com/sns/latest/dg/welcome.html ↗

"Amazon SNS is a fully managed service providing message delivery from publishers to subscribers. Publishers send messages asynchronously to a topic, which is a logical access point and communication channel."

  • Subscriber endpoints include SQS, Lambda, HTTP(S), email, mobile push, SMS, and Amazon Data Firehose.
  • SNS supports Application-to-Application (A2A) and Application-to-Person (A2P) messaging.
  • In fanout, one published message is replicated to multiple endpoints for parallel processing.

// AMAZON SNS (SIMPLE NOTIFICATION SERVICE) TAKEAWAYS

01

Role: Pub/sub topics push one message to many subscribers. Covers A2A and A2P delivery.

02

Choose: One event must hit several targets at once: Lambda, SQS, email, SMS.

03

Avoid: Workers must pull a backlog at their own pace. Use SQS.

04

Trap: Watch for exam signals like pulling messages, buffering a backlog, worker polls the queue.

05

Fact: Subscriber endpoints include SQS, Lambda, HTTP(S), email, mobile push, SMS, and Amazon Data Firehose.

06

Fact: SNS supports Application-to-Application (A2A) and Application-to-Person (A2P) messaging.

07

Fact: In fanout, one published message is replicated to multiple endpoints for parallel processing.