4 ms·
Event sourcing as a system wide architecture is very difficult to pull off well but it works perfectly fine when applied to a narrow use case. It can be as sim
by civilitty 3y ago
Event sourcing as a system wide architecture is very difficult to pull off well but it works perfectly fine when applied to a narrow use case.
It can be as simple as a Postgres append only table keyed by an (id, version) tuple with a JSON column for the change event. You don’t need to pull in the whole enterprise pattern with aggregates, projections, etc to get the essence of event sourcing.