Summary

In this chapter, we discussed the details of the Messaging Pattern and walked through a complete example using AWS SQS as a message broker. The example application comprised a Lambda function as the data producer, SQS as the message broker, and a Lambda function as the data consumer, which ultimately stored results in DynamoDB. We also discussed the difference between queues and streaming systems and reviewed their merits and use cases when one may be preferable over another. I also explained alternative architectures and implementations of the Messaging Pattern with specific problems and examples given for context.

At this point, readers should have a good understanding of how to break apart data-heavy serverless applications using ...

Get Serverless Design Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.