Amazon Simple Notification Service (SNS) is a message delivery service provided by Amazon that delivers messages from a publisher to a subscriber. It uses the publish-subscribe model to deliver these messages. In this model, a publisher sends a message to a topic, which is then delivered to all of its subscriber endpoints. Because publishers and subscribers don’t need to know about each other, Amazon SNS can be used to decouple the components of a distributed system and deliver messages between them.
Amazon Simple Queue Service (Amazon SQS) is a serverless service that sends, stores, and receives messages between different applications. Amazon SQS offers two kinds of queues: standard queues and FIFO queues. The order of the messages being sent may change in standard queues, but the order is retained in FIFO queues.
In this Challenge Cloud Lab, you’ll build an asynchronous order processing system using AWS services for an e-commerce platform. This system lets users capture new order events, process them, and ensure efficient inventory management. Behind the scenes, it uses Amazon SNS, Amazon SQS, and dead-letter queues (DLQs), with the goal of ensuring scalability, reliability, and proper handling of inventory shortages.