News for hackers. Stuff that matters.
Re:Call me maybe: Cassandra by dragonwriter on Thursday September 26, 2013 @07:39PM (#6454300)
> The argument here is basically to replace mutable state with event sourcing. It's an interesting idea and sometimes the right one, but if each user action that triggered a one cell update becomes an event I have to keep forever, I see my database size exploding.

Once an event is visible to all users, it can be merged into the base state of the system and no longer needs to be stored (or at least kept online) as a separate event. For the performance reasons you allude to, you probably want to do that as much as possible.

(This is still effectively an append-only series of immutable states, but losing, at least from regular on-line access, "older" states that no one can see anymore.)

Re:Call me maybe: Cassandra by aphyr on Thursday September 26, 2013 @09:19PM (#6454686)
Once an event is visible to all users,

There's the rub: any GC/compaction (and when you get down to it, any read) is actually a distributed consensus problem. If you're interested in this problem, you might take a look at the CRDT garbage collection literature for more details.

Re:Call me maybe: Cassandra by pfraze on Friday September 27, 2013 @08:51AM (#6456690)
But don't you buy yourself a stronger guarantee that all inputs have been collected by waiting to converge?