Day 9: Event Sourcing
Event Sourcing stores every change to a business object as an immutable event in an append-only log, instead of overwriting the current state in a row.
Event Sourcing stores every change to a business object as an immutable event in an append-only log, instead of overwriting the current state in a row.
CQRS (Command Query Responsibility Segregation) splits an application's model into two sides.
A saga is a way to complete one business process that spans several services, each with its own database, without a distributed lock or a two-phase commit.
The Shared Database pattern lets several services temporarily read and write the same physical database while their business logic already lives in separate service codebases.
Database per Service means every microservice owns a private datastore that no other service can read or write directly.
Service per Team means every service boundary has exactly one cross-functional team that owns it end to end: code, database, pipeline, production operation, and on-call.