Command and Query Responsibility Segregation
명령과 쿼리의 권한 분리.
DB나 상태를 변화(mutate)시키는 '명령(command)'과, 조회만 하는 '쿼리(query)'를 분리하자는 이야기.
변화시키는 요청은, Queue 같은 곳에 command를 발행하고, worker가 받아서 command를 실행하면서 수정을 처리.
조회하는 요청은 DB에서 직접 끌어와서 처리.
장점은?
우선, Event Source pattern을 위해서는 CQRS가 필수적이라는 의견.