Having trouble reading this email? View it in your browser.
New This Week

Real-World Event Sourcing

Reality is event-sourced; your mind processes sight, sound, taste, smell, and touch to create its perception of reality. Software isn't that different. Unravel the theory behind event sourcing and discover how to put this approach into practice with practical, hands-on coding examples. From early-stage development through production and release, you'll unlock powerful new ways of clearing even the toughest programming hurdles.

Recently Released:

 
BlueSky X LinkedIn Instagram Mastedon Facebook

Best Sellers:

Make sure you haven't missed anything!

  1. tmux 3
  2. Real-World Kanban, Second Edition
  3. Hotwire Native for Rails Developers
  4. simplicity
  5. Agile Web Development with Rails 8

See all best sellers...

Real-World Event Sourcing
April 01, 2025

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

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 in print: Use coupon code "KHPESCOMPLETE" for 50% off the ebook at pragprog.com/titles/khpes. For the paperback edition, please support your local independent bookstore.

Want to Write Something? Share What You Know

From paperbacks and ebooks to online courses and beyond, if you want to create technical content, we may be your perfect partner.

Leverage our 20+ years of experience, our global distribution network, our massive fan base, our relationships with industry leaders, our editorial, production, and marketing prowess, and even our reputation for excellence. Sure, you could go it alone, but with some of the highest royalties in all of traditional publishing and your own personal team, why would you bother?

Shoot us an email at proposals@pragprog.com or visit pragprog.com/publish-with-us for more details today.

Let's publish something together!

Upcoming Author Appearances

  • 2025-04-02 Ben Cotton, KubeCon EU, London, UK
  • 2025-04-03 Steve Love, ACCU, Bristol, UK
  • 2025-04-03 Frances Buontempo, ACCU/Bristol
  • 2025-04-04 Cristian Planas, Tropical on Rails, Sao Paulo
  • 2025-05-06 Johanna Rothman, Non-Fiction Writing Workshop: Free Your Inner Writer (online workshop)
  • Be the First

    Sign up for this newsletter at https://pragprog.com/newsletter/ and be the first to hear about our newest content, best promotions, and upcoming events.

    Thanks for your continued support.

    By Professional Developers, for Professional Developers
    PragProg.com

    Sent by the Pragmatic Programmers, LLC. • PO Box 271356 • Flower Mound TX 75027