You’ve got all these events. What do you do with them? - Utah Microservices Meetup April 2023

Transactions become a balance

It’s time again for the Utah Microservices Meetup

Event sourcing enables you to store your system’s state as the transitions that state goes through rather than as just the current state of the system. Among other benefits, this enables simpler communication of what has happened (no two-phase commits) and straightforward data recovery.

However, append-only logs of immutable events aren’t necessarily human-consumable. You want to know your bank account’s balance right now. You don’t want to be handed a list of transactions and a calculator.

This month we’ll go through what view-data components are, why I don’t call them “aggregators” anymore, and a couple of methods for building them including a discussion of the tradeoffs.

View data generation is one of the most interesting parts of an event-sourced system because it allows you to produce many different views of the same data. So come prepared to set aside that notion that duplication of data is necessarily bad and get ready to learn a powerful tool for scaling your systems.


Like this message? I send out a short email each day to help software development leaders build organizations the deliver value. Join us!


Get the book!

Ready to learn how to build an autonomous, event-sourced microservices-based system? Practical Microservices is the hands-on guidance you've been looking for.

Roll up your sleeves and get ready to build Video Tutorials, the next-gen web-based learning platform. You'll build it as a collection of loosely-coupled autonomous services, developing a message store interface along the way.

When you're done, you'll be ready to contribute to microservices-based projects.

In ebook or in print.