An event-driven approach to building Elixir applications

Watch the talk I gave at Code Elixir LDN 2019. Slides are available to view online or download


  Elixir CQRS/ES Commanded


Talk given at Elixir LDN conference on July 18th, 2019.

We experience the real world by reacting to events that have occurred, what if we modelled our Elixir applications in the same way?

Event sourcing is an approach where application state changes are modelled as an immutable series of application-specific domain events over time. Changes made by end users of such applications are recorded as new events. Unlike in a traditional CRUD application, where updates and deletes are destructive operations, events are never deleted.

Objectives

Introduce the concept of event sourcing with a practical application in Elixir. Talk covers the how, why, and why not to apply an event-driven approach to building your Elixir applications and services.

Audience

Anyone interested in discovering how the simple concept of using domain events to capture state changes can bring tangible benefits to application development.


Slides are available to view online or download (PDF).

The application used in this talk to demonstrate event-driven Elixir is open source and available on GitHub.