Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

websocket - best way to design system to instantly display changes made by others

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.

question from:https://stackoverflow.com/questions/65945301/best-way-to-design-system-to-instantly-display-changes-made-by-others

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...