Summary

In this chapter, we discussed the Lambda pattern at a conceptual level as well as in detail. I walked through an example implementation with serverless technologies to calculate average cryptocurrency prices for different time slices. Our example application was fed by a simple script that receives data from the GDAX WebSocket API. This data producer script published data to a single AWS Kinesis stream, which, in turn, triggered a series of events, ultimately resulting in real-time updates to DynamoDB and triggering batch jobs to calculate historical views of the minute, hourly, and daily average prices for multiple cryptocurrencies.

I discussed when the Lambda pattern may be appropriate and the types of data for which it's well suited. ...

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.