CRDT - amark/gun GitHub Wiki

Please move the Conflict Resolution with Guns page here and redirect that old page to here.

"CRDT" is an industry/academic jargon for "Conflict-free Replicated Data Types" or "Commutative Replicated Data Types". They are generally how you mix and merge data without a centralized server. CRDTs work by using a set of mathematical rules that guarantee deterministic output. GUN uses a very unique CRDT called "HAM".

Here it is explained in a single tweet.

Here it is explained in a 1min video.

Next, here is a 45min cartoon explainer.

Finally, a proper formalization of the algorithm can be found on Page 18 of this paper:

https://web.archive.org/web/20190129194403/https://web.stanford.edu/~Nadal/A-Decentralized-Data-Synchronization-Protocol.pdf