Hacker News new | ask | show | jobs
by abdullahkhalids 636 days ago
Do collaborative whiteboard like software use the same algorithms, or are there more suitable algorithms for picture collaborations?
2 comments

They usually use a central server and last-writer-wins semantics.

Figma for example https://www.figma.com/blog/how-figmas-multiplayer-technology...

I've seen CF Durable Objects used quite a lot.

There are other emerging patterns too: https://www.instantdb.com/

There’s usually more suitable algorithms for picture collaborations.

Text is hard because it’s a list of characters, and when items are inserted and deleted the operations change the index of all subsequent elements.

Usually, editing a digital whiteboard is much simpler.