odujosh wrote:
Elephant in the room:
I have watched a few videos on Live Mesh. No one has talked about how collaboration will work with Live Mesh. If Odujosh and Charles are both editing a document on the mesh online how is merging handled.
What if we both edit the same sentence without checking for a synch. How is the interactivity scenario for this handled.
I didn't think to bring this up during the show, but EricRempel asked the same question and Ori from the Live Mesh team responded
here, which I'll copy/paste below.
The mesh synchronization infrastructure essentially detects conflicts at the DataEntry level – so in the case of file synchronization, this happens at the file file/metadata level. While the system is able to resolve conflicts “automatically” if needed, in general it leaves the conflict resolution logic to the application layer. For example, using the scenario you describe below where “two users are working on something and one saves right before the other” – the mesh user experience (e.g., Live Folders) will prompt the user with information about the two conflicting files and allow the user to select how they would like to resolve the conflict. This approach enables applications which are able to handle conflicts at different levels to apply the appropriate logic for their users. In other scenarios where multiple users may be editing different DataEntries within the same Feed in the system – the system will automatically apply merge semantics for the changes.