Comment

Comment by crazygringo

> The Solution: CRDTs. The right approach is CRDTs (Conflict-Free Replicated Data Types)... This means you can apply messages in any order, even multiple times, and every device will still converge to the same state.

This is very much "draw the rest of the owl".

Creating a CRDT model for your data that matches intuitive user expectations and obeys consistent business logic is... not for the faint of heart.

Also remember it turns your data model into a bunch of messages that then need to be constantly reconstructed into the actual current state of data. It's a gigantic enormous headache.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton