I trying to figure out this question asked by a colleague. He is asking what is the best way to design something that will display on the browser changes made by one user to all the others looking at the same data. It's a very open question. The user (client) can crud data on the server, and the data can be edited by multiple users. I am thinking web sockets would be the best approach, but I just wanted to hear other considerations. I also think one possible solution could be locking the db for each edit, but I think it would be too slow. Keeping in mind that the solution should be able to scale to many simultaneous users.
2.1m questions
2.1m answers
60 comments
57.0k users