Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Things like Redux or Bitcoin are more or less event sourced systems. It's basically the idea of deriving your application state from a series of business events and storing those as a single source of truth. It's very appealing in theory but as the article explains, it's a bit more complicated in practice (e.g. dealing with consistency).


So somewhat akin to the Command pattern?


Somewhat but with an important difference: commands may fail. Events may not, since they are facts.

Although in 2019 one has to wonder.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: