How to put a program online?

-1

There is a shared (google) worksheet in which multiple users edit and watch simultaneously. For those who have used the shared spreadsheet google knows that when someone starts to write everyone sees in real time. Anyway I build a program with some extra functionality to replace this shared worksheet (I used python 3.x and tkinter) The problem is that I have no idea how to put this program online for multiple users (at most 120) to use simultaneously. P.ex: someone started typing something and everyone will see (same as the google worksheet). If someone who has understood the problem and can at least guide me what I should research / study, I will be eternally grateful!

BELOW A PRINT OF THE PROGRAM

    
asked by anonymous 08.06.2018 / 11:58

1 answer

3

Placing online involves each user's network connections. Each network connection will have a latency. The real-time editing process by multiple clients on a network is a big challenge. One technique used is the use of websockets.

The flow of the data follows as follows:

  • User A requests the page from the form to the server

  • User B also requests

  • User A sends an edit command to the server

  • The server broadcasts to all connected clients

  • Each client software executes the command received by the broadcast.

  • User B observes the edit command of user A in real time.

  • 08.06.2018 / 12:21