Integration And Messaging Family

Family Role

Integration and messaging services decouple systems, absorb spikes, route events, and coordinate workflows.

Main Decision Dimensions

  • queue vs pub/sub vs event bus vs workflow
  • point-to-point vs fan-out
  • ordered vs unordered processing
  • synchronous vs asynchronous flow
  • business orchestration vs transport only
  • retry and failure-handling model

Family Comparison Table

ServiceModelManagementBest ForMain StrengthMain WeaknessTypical Architect Choice
SQS StandardQueueManagedHigh-throughput asynchronous decouplingSimple durable bufferingNo strict ordering guaranteeDefault queue choice for async workloads
SQS FIFOOrdered queueManagedOrdered or exactly-once-sensitive workflowsOrdering and dedup supportLower throughput tradeoffs vs StandardChoose when order matters
SNSPub/subManagedFan-out notifications and event distributionSimple publish-to-many patternNot a workflow engineChoose when one event should reach many subscribers
EventBridgeEvent busManagedEvent-driven integration across servicesRouting rules and event-centric architectureEvent design and governance matterChoose for event bus style integration
Step FunctionsWorkflow orchestrationManagedBusiness or technical orchestrationVisibility and durable workflow stateAdds orchestration modeling overheadChoose for explicit multi-step flows
Amazon MQTraditional message brokerManagedLegacy protocol and broker compatibilityFamiliar messaging patterns for certain migrationsMore traditional broker management conceptsChoose when JMS/AMQP/MQTT-style compatibility is required
AppSyncGraphQL API and real-time integrationManagedGraphQL backends and client data syncStrong managed GraphQL featuresSpecialized app patternChoose when GraphQL is central to the app model

Quick Decision Guide

If You NeedUsually Start With
Simple asynchronous work queueSQS
Publish one event to many subscribersSNS
Event bus across services and SaaSEventBridge
Durable multi-step workflowStep Functions
Broker compatibility for migrationAmazon MQ

Common Scenarios

ScenarioUsually Good Starting PointWhy
Background order processingSQSDecouple request from processing
Broadcast user signup event to multiple systemsSNS or EventBridgeFan-out delivery
Event-driven microservice architectureEventBridgeRouting by event type and source
Payment workflow with retries and human stepsStep FunctionsDurable orchestration
Legacy app migration with broker dependencyAmazon MQCompatibility path

What To Study Deeply Per Service

  • delivery guarantees
  • ordering and dedup behavior
  • retry, DLQ, and replay model
  • consumer scaling model
  • event schema and governance
  • cost per message, event, or state transition

When Not To Start Here

  • Do not start with Step Functions for trivial fire-and-forget integration that does not need durable orchestration.
  • Do not start with SNS when ordering, replay control, or workflow state is central.
  • Do not start with SQS when the main need is many-target event routing based on event attributes.
  • Do not keep Amazon MQ unless broker compatibility is a real constraint rather than an inherited habit.

Practical Architect Checks

  • Define idempotency, retry behavior, and dead-letter handling up front.
  • Confirm whether ordering, deduplication, replay, and retention requirements are real or assumed.
  • Review consumer backpressure, concurrency, and poison-message strategy.
  • Version event schemas and ownership before many teams depend on them.
  • Model message, event, and state-transition costs for normal and failure-heavy traffic.

Expert-Level Coverage Additions

  • Describe replay, deduplication, and ordering strategy as first-class architecture decisions.
  • Include event ownership and schema governance across multiple teams or accounts.
  • Record when orchestration creates useful control vs harmful central coupling.
  • Document failure amplification patterns, especially retry storms and fan-out cascades.

Per-Service Drill-Down

Use architect-study-template for:

  • SQS
  • SNS
  • EventBridge
  • Step Functions
  • Amazon MQ
  • AppSync

Flagship Service Plan

ServiceWhy It BelongsLinkStatus
SQSDefault durable queue and async decoupling boundarysqsdone
EventBridgeMain event-bus and rule-based fan-out modeleventbridgedone
Step FunctionsMain durable orchestration model when workflow state mattersstep-functionsdone
SNSAdd when fan-out and notification patterns need their own explicit architectural note-conditional
Posts in 2026