GFlisch / Arc4u.Guidance.Doc

Other
5 stars 1 forks source link

Alternative to CQRS/CQS over N-Tier architecture #29

Open devbrsa opened 1 year ago

devbrsa commented 1 year ago

Following Clen Architecture where Domain classes are rich orchestrated by Services (Domain Services).

devbrsa commented 1 year ago

While N-tier architecture can be beneficial for many types of applications, it may not be the best fit for all situations. CQRS can be a useful pattern to consider in situations where the read and write workloads are different, the application requires a high level of performance (See B**** project), or when there is a need for a high level of scalability. Also some conjunction with mediator pattern, which was mentioned by someone already in another issue.