You are not logged in.
Pages: 1
My application use a server-clients systems, so I have a server application and many clients applications.
The clients can edit database table so I have added a procedure to update te GUI all other clients with a client edit the database.
What is the best way to do it? I need a fast and no-blocking system.
I think the best way is allow to server send the new record to all the clients when there are some update but I don't know if this is possible.
I'm not an expert of server-clients systems so I'd like know what is the best way to do it.
Thanks
Offline
Our framework is stateless by nature.
See the SAD 1.18 pdf about "Stateless" in the key word index, you will find how it is implemented.
In particular, see "12.2. Stateless design" (currently page 231).
But you can pull the server regularly (e.g. every 5 seconds), for new values.
There is a built-in is not intrusive, and has some benefits:
- It keeps the connection open;
- It does not need any complex synchronization.
Offline
I just use UpdateFromServer on my clients but I get some "blocking" problem.
My clients have some grids. For any grid I use a TSQLTableJSON to retrive data from some tables, then I use UpdateFromServer to know if there a update data.
My problem is this if UpdateFromServer I must retrive a now TSQLTableJSON with ALL to update the client grid.
Also if there only a update record of TSQLTableJSON I don't know it so I must retrive ALL in this way I have a "blocking" problem (for 3-4 seconds).
Offline
Pages: 1