8 ms·
I don't have much to add to your excellent post; I just wanted to underline this: > Log events durably first, and then act on the events. Nothing has changed
by wpietri 10y ago
I don't have much to add to your excellent post; I just wanted to underline this:
> Log events durably first, and then act on the events.
Nothing has changed my view of how to build systems more than the log-then-act paradigm. So many problems go away when I start from that perspective.
I think it took me so long to see it because so many common tools work against it. But those tools were built in an era when most systems had "the database", a single repository of everything. That paradigm is very slowly dying, and I look forward to seeing what tools we get when the distributed-systems paradigm becomes dominant.
- vidarh 10y agoExactly, not least because it is fantastic for debugging to be able to roll a copy of a sub-system back and re-process operations and watch exactly what breaks instead of trying to figure things out from a broken after-the-fact system state.