So I could not find this information, but I'm curious to know how real-time syncing of text documents in Google Drive works.
The point is that two people can edit the file at the same time, with the changes appearing for the two virtually instantaneously.
I really want to know how this works to see where I can implement something like that, I accept links with the explanation about it too.
I want to know, how does this synchronization work, in which both can see at the same time what is changed? What language do they use to do this? What bank do they use? What black magic is this?