3 ms·
"For me event-sourcing is a historical layer below your existing database that allows you to replay the sequence of events that got your database to its current
by js8 8y ago
"For me event-sourcing is a historical layer below your existing database that allows you to replay the sequence of events that got your database to its current state."
In other words, a transaction log.
- matthewaveryusa 8y agoYeah, that's essentially what it is. For example, you can build event-sourcing by tapping in to the log-shipping facilities that postgresql offers (set wall to logical, and assign a replication slot to it)
- atoko 8y agoA transaction log is too detailed and specific. Typically an event log lists actions from the business domain rather than what got affected. It should explain what happened, not how it happened.