Hacker News new | ask | show | jobs
by civilitty 975 days 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.