Simultaneous access to the same file

Hello guys, I was wondering how it would be the experience of a shared file accessed and modified by two (or more) different users at the same time (on purpose), as collaborative work on editing a video or a song.

2 Likes

Iā€™m not sure, but I believe this is where a collaborative application would make use of the version property of mutable data.

For example, to make a change the app makes a request which says what version the change applies to. The network checks the version is as expected, and if so applies the change. If not, the operation fails and the app can decide how to handle this - it might request the latest version and try again, or let the user know the file had been modified and ask them what to do etc.

3 Likes