1
So I couldn’t find this information, but I’m curious to know how it works real-time synchronization of text documents on Google Drive.
The issue is that two people can edit the file at the same time, with the changes appearing for both virtually instantly.
I really want to know how this works to see where I can implement something similar, I accept links with the explanation about it too.
I want to know, how does this synchronization work in which the two can see at the same time what is changed? What language do they use to do this? What bank do they use? What dark magic is this?
The theory is not complicated: take what has been modified, send it to the other person with the file open, and update their version. Nothing special in between, just Javascript, websocket. Probably not even database has (or at least it is possible to do without). No black magic.
– Vinícius Gobbo A. de Oliveira