· Manikandan · Microservices
Day 8: CQRS
CQRS (Command Query Responsibility Segregation) splits an application's model into two sides.
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.