Module 4: Streams & Lambda

Module Overview

In this module, we transform DynamoDB from a static data store into a dynamic Event Source. You will learn how to capture every change in your table and react to it in real-time using AWS Lambda and Kinesis.

Chapters

  1. DynamoDB Streams
    • Learn the architecture of Shards, Sequence Numbers, and Stream View Types (NEW_AND_OLD_IMAGES).
    • Visualize how data flows from the table to the stream.
  2. Lambda Triggers & Error Handling
    • Master the Event Source Mapping (ESM).
    • Tune BatchSize and BatchWindow for cost and performance.
    • Implement robust error handling with BisectBatchOnFunctionError.
  3. Kinesis Data Streams Integration
    • Scale beyond the limits of DynamoDB Streams.
    • Build a Serverless Analytics Pipeline (DynamoDB → Kinesis → Firehose → S3 → Athena).
  4. Module Review
    • Test your knowledge with Flashcards.
    • Production Readiness Checklist.