CQRS

Introduction CQRS, which stands for Command Query Responsibility Segregation, is a new approach in DDD which optimizes a system for writing and reading data respectively by separating these two processes from one another. Modern CQRS-architectures allow for highly scalable systems on both the read- and the write-part of the system. Implementing a CQRS-architecture also has downsides as it is highly likely to increase cost and complexity of the system. So it’s always a thin line to decide whether CQRS can help in the current system or whether it will overcomplicate things with no real benefit....

September 27, 2023

Domain-centric Architecture

Introduction Domain-centric architecture is an up-and-coming topic when deciding how to structure new applications. A lot of todays applications are centered around a database and not a domain, which is good in some cases but can get rather complex in other cases. As a lot of applications work like a basic CRUD-application, the database at the center usually doesn’t hurt. But even simple CRUD-apps could benefit from putting the domain at the center instead of the database....

August 28, 2023