Lately I’ve been on a distributed system kick as I research ways to synchronized data in the Simple IoT system. Yjs looks like an interesting project. While the problem is somewhat different than the problem I’m working on, it does use some interesting algorithms like Lamport timestamps. As Donald Knuth stated, there are an infinite number of algorithms – and algorithms make a huge difference in the quality/speed of the solution – sometimes by factors of a million or more.