Menu
Back to Discussions

whats my strategy for real time data sync across a bunch of clients well its kinda tricky but prob involves websockets

Yara Flores
Yara Flores
·4375 views
im working on a collaborative editing tool and need to ensure all connected clients see updates instantly. we're already using WebSockets for the initial connection and basic messaging. but how do you all handle the complexity of synchronizing the state of a shared resource, like a document or a canvas, across potentially many users without conflicts or significant lag? are you using CRDTs, operational transformation, or something else entirely? curious to hear about your experiences and preferred patterns.
38 comments

Comments

Loading comments...