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.