zlacker

[parent] [thread] 1 comments
1. eklavy+(OP)[view] [source] 2021-11-26 13:03:44
I would like to disagree, in my experience eventing/cqrs are wonderful solutions to a set of problems (specially where event by event playback is a primary functionality). In most other cases it’s overkill and maintaining a snapshot of state, which like you said is inevitable even in the event log case, is imperative.

There are just too many scenarios where not having transactions is dog slow or really really unwieldy.

replies(1): >>lmm+xz6
2. lmm+xz6[view] [source] 2021-11-29 01:10:12
>>eklavy+(OP)
In my experience when you do something that requires transactions - i.e. some complicated calculation based on the current state of the world that you can't reduce to a sequence of events and transformations between them - you always end up regretting it. Almost by definition, you can't reproduce what the transaction was supposed to do, and if there are bugs in your logic then you can't fix them; often you can't even detect that they happened.
[go to top]