architecture

CQRS with a separate read store: useful projections, new guaranteesPublished At:

A separate read store lets a query model match its screen or report instead of the write model. It can remove expensive joins and let read traffic scale independently.

The new boundary also creates a synchronization problem. Reads can be stale, projections must recover safely, and the system has to state what a user should expect after a command.

engineering architecture #architecture #cqrs #projections #eventual-consistency #dotnet #csharp

Read more ...

Minimal CQRS: separate code paths, keep one application and one databasePublished At:

Minimal CQRS keeps commands and queries in one deployed application using one database. The paths differ because commands protect state changes while queries return data shaped for a caller.

This retains transactions and immediate reads after a command. It does not provide independent read scaling, denormalized reporting projections, or isolation from a busy write workload.

engineering architecture #architecture #cqrs #cqs #dotnet #csharp

Read more ...

CQS and commands: make the application understand intentPublished At:

A changed DTO can show a new state without naming the action a user asked the application to perform. A command such as `DeactivateInventoryItem` makes the action and required reason visible.

That gives validation, authorization, state rules, and later consequences one place to live. CQS is a small API rule, not a requirement for separate services, databases, or an event bus.

engineering architecture #architecture #cqrs #cqs #dotnet #csharp

Read more ...

When CRUD stops describing the workPublished At:

CRUD is a good fit for simple data changes such as a display name or team setting. It becomes vague when an edited DTO hides the action, rules, permissions, and consequences behind changed fields.

The post traces the move from generic updates to CQS and CQRS. The point is not replacing every update, but naming business actions when the application needs to understand them.

engineering architecture #architecture #cqrs #cqs #dotnet #csharp

Read more ...