logoalt Hacker News

satvikpendemtoday at 7:25 AM1 replyview on HN

Conflict resolution for real time simultaneous updates, how do you resolve them? I use a CRDT for solving precisely this problem but seems like most multiplayer database services don't actually handle this correctly, using last write wins instead.


Replies

nezajtoday at 3:55 PM

We use LWW on the attribute level which greatly reduces conflicts. There are certainly cases where you'll need a different CRDT but this works great for a lot of use cases.

Including Figma! https://www.figma.com/blog/how-figmas-multiplayer-technology...