Re:Datomic: Event Sourcing without the hassle
by jonathanoliver on Tuesday November 13, 2018 @08:13AM
(#18440663)
Almost. Think of it like a bank account. You don't sum up every transaction amount across all time. Instead, to calculate your balance you start from the last statement balance (the last memento according to Greg Young) and apply newer events. So it's VERY fast. You can even compute and save your newer balance (memento) every few events if you'd like.
[ Parent
| on HN ]
There are no comments on this comment yet.