Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

🏠 Back to Blog

Simple Notification System

Introduction

  • Pub/sub system
  • The “event producer” only sends messages to one SNS topic
  • As many subscribers as we want to listen to the SNS topic notifications
  • Each subscriber to the topic will get all of the messages (new feature to filter messages)
  • Up to 12,500,000 subscriptions per topic
  • 100,000 topic limit
  • Subscribers can be:
    • SQS, Lambda, Kinesis Data Firehose, Emails, SMS, etc.
  • Publishers can be:
    • CloudWatch, Budgets, S3 Event Notifications, any many more…

How to publish

  • Topic Publish (using the SDK)
    • Create a topic
    • Create a subscription (or many)
    • Publish to the topic
  • Direct Publish (for mobile apps SDK)
    • Create a platform application
    • Create a platform endpoint
    • Publish to the platform endpoint
    • Works with Google GCM, Apple APNS, Amazon ADM, etc.

SNS + SQS: Fan Out

  • Concept: Push once in SNS, receive in all SQS queues that are subscribers