CQRS + Event Sourcing — microservice patterns

  • Supporting — associated to the business but not a differentiator.
  • Generic — not really specific to the business
  • A software programing model which is applied to a specific domain (problem area)
  • Aggregate root
  • Entity
  • Value object
  • Domain event
  • Opportunity to create query models from historical data (as opposed to CRUD’s last update state)
  • Audit log (trail of updates made to any piece of data in the system)
  • Decoupled side-effects (a command service that emits events can be decoupled from any logic expected to materialize on certain updates)
  • Assisted debugging and troubleshooting

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store