# Building Reliable Messaging Patterns in AWS with SQS and SNS

DevFeed: [Building Reliable Messaging Patterns in AWS with SQS and SNS](<https://devfeed.tech/articles/building-reliable-messaging-patterns-in-aws-with-sqs-and-sns-18004.md>)

Original publisher: [Read original article](<https://blog.guilleojeda.com/building-reliable-messaging-patterns-in-aws-with-sqs-and-sns>)

Author: Guillermo Ojeda

Published: 2024-12-20T15:20:38Z

Content type: tutorial

Language: en

Sources: [Guille Ojeda](<https://devfeed.tech/sources/guille-ojeda.md>)

Topics: [Amazon Simple Queue Service (SQS)](<https://devfeed.tech/topics/amazon-simple-queue-service-sqs.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Messaging](<https://devfeed.tech/topics/messaging.md>), [distributed-systems](<https://devfeed.tech/topics/distributed-systems.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [aws](<https://devfeed.tech/tags/aws.md>), [distributed-system](<https://devfeed.tech/tags/distributed-system.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [fifo](<https://devfeed.tech/tags/fifo.md>), [messaging](<https://devfeed.tech/tags/messaging.md>), [scale](<https://devfeed.tech/tags/scale.md>), [sns](<https://devfeed.tech/tags/sns.md>), [sqs](<https://devfeed.tech/tags/sqs.md>), [technical](<https://devfeed.tech/tags/technical.md>)

## AI overview

This tutorial explains how to build reliable distributed messaging systems with AWS SQS and SNS. It covers queue configuration, error handling, scaling patterns, message retention, long polling, visibility timeouts, and the differences between Standard and FIFO queues, using Node.js examples.

## Source excerpt

Building distributed systems requires putting a lot of attention on communication between components. These components often need to exchange information asynchronously, and that's where message queues and pub/sub systems are the go-to solution. AWS ...