News for hackers. Stuff that matters.
Re:Show HN: DriftDB is an open source WebSocket backend for ... by bruth on Monday February 06, 2023 @02:30PM (#34682859)
> If messages were frequent enough, and/or snapshots took a while to compute/transfer, you might never have a roll-up succeed.

Yes, good point. The "snapshotting up to a lagging sequence" could be achieved with two separate subjects to reduce contention, but is a bit more work.

It sounds like, in Drift's case, the snapshot effectively brings up the tail (snapshot), but the head can still be appended to with new events.

Re:Show HN: DriftDB is an open source WebSocket backend for ... by paulgb on Monday February 06, 2023 @03:01PM (#34683426)
> It sounds like, in Drift's case, the snapshot effectively brings up the tail (snapshot), but the head can still be appended to with new events.

Yep, exactly. It’s a subtle feature but it makes it possible for multiple clients to attempt to compact without worrying about races.