I'm a bit mystified as to why it's called event sourcing, though. Everything sources events. The difference is that this data model has everything consuming events instead of consuming state.
I'm a bit mystified as to why it's called event sourcing, though. Everything sources events. The difference is that this data model has everything consuming events instead of consuming state.
Those are always the best kind. Real, live, messy, production code. You should open source it. We will learn something
That's a bit like saying Historians know everything, since every known fact is in the past and therefore history :P
I think the point is that the events are kept and can continue to be used as the primary source of truth, rather than used and discarded.
https://martinfowler.com/eaaDev/EventSourcing.html
This is an article I have from 10+ years ago and its still roughly the same way I do it now. I've never needed to scale it beyond something like Postgres or Redis.
I poke around in the guts of databases, so that's what I meant. The WAL is ES in the context of databases. So I guess ES is the generalization/abstraction(?).
It's not uncommon to see RDBMS's still used to improve read performance (but not as a source of truth, just a cache with SQL).