NOW IN BETA

Real-World Event Sourcing:
Distribute, Evolve, and Scale Your Elixir Applications
by Kevin Hoffman

Margaret Eldridge
The Pragmatic Programmers
2 min readSep 5, 2024

--

Now in beta from The Pragmatic Programmers, Kevin Hoffaman introduces you to event sourcing in Elixir in Real-World Event Sourcing.

While the book is in beta, please share your thoughts and suggestions on the book’s page on DevTalk. DevTalk community members can save 35 percent on the ebook with an exclusive DevTalk promo code.

About Real-World Event Sourcing

Our applications are bombarded with data. It’s hard enough to derive state from that data, let alone discover how we arrived at that state. With event sourcing, you can treat the stream of data as a simple sequence of events that you use to construct whatever state you need. Event sourcing is more than events; it adds patterns, rules, and constraints to produce robust and easy-to-maintain systems. In this book, you’ll learn which rules can never be broken and which ones are flexible. By grounding yourself in theory, rules, and practical approaches, you’ll be able to build real-world, event-sourced applications.

Get your hands dirty with fundamental event-sourcing building blocks such as commands, aggregates, projectors, process managers, injectors, and notifiers. Combine these building blocks to produce elegant solutions to complex problems. Leave “hello world” far behind as you tackle the more advanced aspects of event sourcing that give you the confidence you need to run these applications in production. Leverage event sourcing to create distributed applications with ease; model and handle failure; and deal with replays, schema evolution, security, and much more.

This book doesn’t shy away from confronting the hard parts of event sourcing, instead giving you clear advice and examples for tackling the most difficult details.

Empower your applications with the full force of event sourcing today.

Now available in beta from pragprog.com/titles/khpes.

--

--