SYSTEM Cited by 3 sources
Amazon SNS¶
Amazon SNS (Simple Notification Service) is AWS's managed pub/sub fanout messaging service. Publishers post to a topic; subscribers (SQS queues, Lambda functions, HTTP endpoints, email, mobile push) each receive their own copy. Commonly paired with systems/aws-sqs as the fanout half of a topic → queue-per-consumer pipeline.
Role for this wiki¶
SNS appears as the fanout primitive in AWS-native producer/consumer pipelines. The canonical shape is S3 event → SNS topic → SQS queue-per-consumer, letting each downstream subscriber control its own queue depth + retention without affecting others.
SNS/SQS pairs as anti-pattern at org scale¶
Per-integration SNS topics + SQS queues between services is a natural first step for introducing async decoupling, but Amazon Key explicitly names it as "implemented on an ad-hoc basis, lacking standardization and creating additional maintenance overhead". At fleet scale SNS/SQS pairs become pub/sub without governance — no shared schema registry, no content-based routing rules, no subscriber-provisioning scaffolding. EventBridge is AWS's answer for org-scale event-driven architectures: one bus with content-based routing rules + a schema registry + reusable subscriber constructs (patterns/single-bus-multi-account, patterns/reusable-subscriber-constructs, patterns/client-side-schema-validation). SNS remains the right primitive for narrower fanout pipelines (S3 event → SNS → SQS per consumer) and as an EventBridge target.
Seen in¶
- sources/2024-07-29-aws-amazons-exabyte-scale-migration-from-apache-spark-to-ray-on-ec2 — Amazon BDT's 2021 serverless-Ray job management substrate uses SNS alongside systems/dynamodb, systems/aws-sqs, and systems/aws-s3 for durable job lifecycle tracking and notifications.
- sources/2026-02-04-aws-amazon-key-eventbridge-event-driven-architecture — Named in the "ad-hoc SNS/SQS pairs" anti-pattern that motivated Amazon Key's migration to EventBridge as the shared-bus substrate; SNS still valid for narrower fanout, but superseded at org scale.
Related¶
- systems/aws-sqs — canonical downstream-queue pair.
- systems/amazon-eventbridge — the org-scale event-bus abstraction that supersedes ad-hoc SNS/SQS pairs.
- systems/aws-s3 — common upstream event source.
- systems/dynamodb — common state store in the same pipeline.