News for hackers. Stuff that matters.
Re:Event Sourcing (2005) by timClicks on Wednesday August 11, 2021 @08:50PM (#28150281)
Start with very granular events. They can be aggregated later if needed, but the reverse isn't possible.
Re:Event Sourcing (2005) by rphln on Thursday August 12, 2021 @07:31AM (#28154931)
Isn't it the other way around? If you have an “AB” event, it's fairly trivial to go through the log and split it into “A then B”. If you have “A then C then B” for whatever reason and then realize that you need to aggregate “A” and “B”, that is much harder.