Coming to Terms with Data Duplication
With all this talk of multiple aggregations from the same source data, you may be thinking that sounds like a lot of duplicated data. What developers have not had the mantra “Thou shalt not duplicate data” hammered into them? Surely, we sin against everything our profession has taught us!
It is important to not duplicate data, but what that really means is do not duplicate the authoritative source of truth. We can make as many aggregations as we want precisely because they are not the source of truth. The events in the Message Store are. As the diagram here illustrates, we can aggregate as much as we like:
Those are three equally valid representations derived from the same, single source of truth.
Traditional ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access