Applying the Event Sourcing and CQRS Patterns

In this chapter, the following recipes will be covered:

  • Creating a data lake
  • Applying the event-first variant of the Event Sourcing pattern
  • Creating a micro event store
  • Applying the database-first variant of the Event Sourcing pattern with DynamoDB
  • Applying the database-first variant of the Event Sourcing pattern with Cognito datasets
  • Creating a materialized view in DynamoDB
  • Creating a materialized view in S3
  • Creating a materialized view in Elasticsearch
  • Creating a materialized view in a Cognito dataset
  • Replaying events
  • Indexing the data lake
  • Implementing bi-directional synchronization

Get JavaScript Cloud Native Development Cookbook 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.