Hacker News new | past | comments | ask | show | jobs | submit login
Architectures for Central Server Collaboration (mattweidner.com)
85 points by cadamsio on June 6, 2024 | hide | past | favorite | 3 comments



Having tried to implement a multiplayer rich text, we settled on last-edit win to simplify the structure.

OT/CRDT is really hard to implement.


My takeaways from experimenting with CRDTs were:

- In many cases, CRDTs didn’t improve upon last-write-wins, i.e. a CRDT update followed by another user’s CRDT update 10 seconds later is the same as last-write-wins

- Often the challenge was less technical, and centered around what a conflicted state means in the absence of a human discussion, i.e. how would you resolve a git merge conflict without human intervention, or if two people reschedule the meeting simultaneously one of them is likely to miss it unless they talk it out


Matt's blog is a great resource for getting up to speed on CRDTs etc.. especially when working outside the domain of text editing!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: