Decoupling with SQS and SNS
Connecting components directly makes each one depend on the other being up and fast. Putting a queue or a topic between them breaks that dependency. SQS buffers work in a queue for a consumer to process later, SNS fans a message out to many subscribers, and the result is a system that absorbs spikes and survives a component going down.
Sign in to start the lab