An event-driven approach to building Elixir applications
Ben Smith
An event-driven approach to building Elixir applications
Let's start by introducing the application
Pub/Sub
Using domain events as the source of truth
Domain event
- Record of something that took place in the domain
- An immutable, historical fact
- Named in the past tense using the language of the business
- Examples:
- Challenge Started
- Competitor Joined
- Activity Recorded
- Leaderboard Ranked
Recording domain events
Consuming domain events
How do I design using events?
Challenge lifecycle
What about changing requirements?
Dealing with external events
Extending third party providers
What Elixir tooling
is available?