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 built a text-to-video AI in 30 days. User Avatar 67 comments What 300 Builders Taught Us at BTS About the Future of App Building User Avatar 52 comments I built something that helps founders turn user clicks into real change 🌱✨ User Avatar 50 comments From a personal problem to a $1K MRR SaaS tool User Avatar 47 comments This Week in AI: The Gap Is Getting Clearer User Avatar 35 comments How An Accident Turned Into A Product We’re Launching Today User Avatar 29 comments