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
7 years in agency, 200+ B2B campaigns, now building Outbound Glow User Avatar 105 comments How I built an AI workflow with preview, approval, and monitoring User Avatar 54 comments The "Book a Demo" Button Was Killing My Pipeline. Here's What I Replaced It With. User Avatar 45 comments I built a desktop app to move files between cloud providers without subscriptions or CLI User Avatar 26 comments Show IH: I built an AI agent that helps founders find the right people User Avatar 24 comments My AI bill was bleeding me dry, so I built a "Smart Meter" for LLMs User Avatar 20 comments