← projects

Collaborative Sync Engine

Real-time collaborative text editing built from scratch on a CRDT (RGA), with cross-instance sync over Redis Pub/Sub.
status in-progress
stack TypeScript, Node.js, WebSockets, Redis Pub/Sub, Docker

A real-time collaborative text-editing engine being built from scratch using a CRDT (RGA) approach, chosen over operational transforms for provable convergence correctness in a solo build.
problem
Operational transforms need a large, carefully tested transform matrix to stay correct. Getting that right alone is a poor bet.
solution
An RGA-based CRDT, where convergence is a property of the data structure rather than of the transform functions, plus reconnect and diverged-state recovery via state-vector diffing.
architecture
results
In progress.