implementing-cqrs-in-elixir icon indicating copy to clipboard operation
implementing-cqrs-in-elixir copied to clipboard

An introduction to implementing Command Query Responsibility Segregation (CQRS) in Elixir applications.

Implementing CQRS in Elixir

An introduction to implementing the Command Query Responsibility Segregation (CQRS) architecture in Elixir applications.

This guide will help you to build your own Elixir applications following CQRS/ES principles.

  • Building pure functional, event-sourced domain models.
  • Using eventstore to persist event streams to a PostgreSQL database.
  • Command registration and dispatch; delegation to aggregate roots; event handling; and long running process managers using commanded.

The reader should be familiar with the Elixir programming language and the basic principles of domain-driven design.