CQRS
-
CQRS: Command와 Query의 책임 분리이코에코(Eco²)/Foundations 2025. 12. 21. 18:40
원문: CQRS - Martin Fowler (2011)들어가며2011년, Martin Fowler가 Greg Young의 아이디어를 정리하여 발표한 CQRS(Command Query Responsibility Segregation)는 읽기와 쓰기를 별도의 모델로 분리하는 패턴이다.흥미로운 점은 Fowler 본인이 이 글에서 CQRS의 위험성을 강하게 경고한다는 것이다. 그는 CQRS가 유용한 경우도 있지만, 대부분의 시스템에는 불필요한 복잡성을 추가한다고 강조한다."CQRS is a significant mental leap for all concerned, so shouldn't be tackled unless the benefit is worth the jump." 이 문서에서는 CQRS가 해결하는..