2
1 Comment

AWS SNS vs. SQS - What Are the Main Differences?

This post introduces you to both AWS SNS and SQS and shows you the differences. It also shows examples of when you should use which service.

submitted this link to Icon for group Developers
Developers
on May 26, 2022
  1. 1

    i use both of these services in a project i am currently working on. SNS i use for app to app communications from my serverless environment. SQS i use in my containers to process CPU-intensive jobs. during architecture i thought to myself well can't i really just utilize SQS for both of these? i tried it out, and found SNS was superior for the serverless comms between my jobs and processes outside of my containers. my containers run a single queue consumer process, which keeps my container workload from having to scale so often. in doing this, i was trying to mimic the process of job queuing as it is done in BeeQueue for NodeJS or laravel. thanks for putting the differences between these services together, this was informative.

Trending on Indie Hackers
I shipped 3 features this weekend based entirely on community feedback. Here's what I built and why. User Avatar 155 comments I'm a lawyer who launched an AI contract tool on Product Hunt today — here's what building it as a non-technical founder actually felt like User Avatar 139 comments Finally reached 100 users in just 12 days 🚀 User Avatar 127 comments “This contract looked normal - but could cost millions” User Avatar 50 comments 👉 The most expensive contract mistakes don’t feel risky User Avatar 39 comments I realized showing problems isn’t enough — so I built this User Avatar 32 comments