logoalt Hacker News

throwup238today at 12:44 AM1 replyview on HN

It is very valuable but compaction enables a number of use cases where events are generated in significant quantity or you need to save space, like if you’re implementing event sourcing at thw GUI layer (the event store is basically a journal).


Replies

addaontoday at 1:51 AM

But the event store is also your undo stack, then. Keeping it infinite (or deliberately trimming it at application launch) improves user experience.

show 1 reply