Does EventBridge make SNS obsolete?

AWSArchitectureDaily Email

I haven’t yet used EventBridge in a proper application although I’ve read a lot of very positive reviews over the past few months and its feature set looks very impressive.

I have, however, used SNS for years and it’s probably one of my favourite AWS services. It’s really easy to get set up and almost always “just works”. So for me at least, EventBridge has a high standard to live up to (if only AWS would bring out a competing service to cannibalise Cognito! 😛).

Given the large crossover between EventBridge and SNS in terms of features, I wasn’t quite sure where SNS would fit in my toolbelt of services going forward. So I asked this question on Twitter yesterday:

“Question for AWS EventBridge advocates: are there any use cases where you would still use an SNS topic in a greenfield project?”

Several AWS experts chimed in with answers that I’ve summarised below. Consider SNS over EventBridge in these scenarios:

  • High throughput requirements — SNS is better fit for fanning out to large number of consumers
  • EventBridge has a limit of 5 targets per rule, SNS has a huge subscribers limit
  • Higher latency in message delivery for EventBridge than SNS, though this difference may no longer be as significant
  • Cross-account message delivery is simpler to configure with SNS
  • SNS has built-in delivery subscriptions for SMS, email, mobile push and HTTP endpoints that EventBridge does not (yet) provide

So to conclude, I definitely won’t be completely ditching SNS. The large fan-out pattern in particular is a common use case for me. I do hope to try out EventBridge soon in the role of application domain event bus.

— Paul

Originally published .

Other articles you might enjoy:

Free Email Course

How to transition your team to a serverless-first mindset

In this 5-day email course, you’ll learn:

  • Lesson 1: Why serverless is inevitable
  • Lesson 2: How to identify a candidate project for your first serverless application
  • Lesson 3: How to compose the building blocks that AWS provides
  • Lesson 4: Common mistakes to avoid when building your first serverless application
  • Lesson 5: How to break ground on your first serverless project

    ☎️ Serverless AMA

    Need quick guidance on a specific issue on your AWS serverless project? Or just wondering where to start with serverless?

    Book a call and ask me anything.

    Learn more >>

    🛫 Serverless Launchpad

    Ready to start building your new AWS serverless project but need help with getting everything setup?

    The Serverless Launchpad is a done-for-you DevOps service installed in under a week. You get a leading-practice multi-account AWS environment, a scaffolded codebase and architecture including the common AWS serverless services, isolated cloud environments for individual developers, automated delivery pipelines right through to production and much more. Everything is IaC, extensively documented and handed over to your developers.

    Learn more >>