First of all Hi and sorry for my English! So my idea is about big datasets queried from mysql and sending it to a lot of clients. Secondly after a give this date to the client and render it in browser, people can edit price of all this rows, and depends of the price, the position in the list will change. So if client 1 update price all clients should get this price and the position of all clients should change at the same time. So I need rebuild ui for every client I have.
So actually, at this moment, I am trying to understand from what should I start. Firstly I think, to use a localStorage of clients browser, but it have 5MB limit.
Also I understand that I can't send over 50k rows from db via web sockets, because web sockets build for short and fast messages, but not for big data. So help me with my question, what should I use and what should I learn to make fast, realtime updating data from db to browser? I think, that I need to save all date somewhere on client side, and than after updates, get just items that have been updated, send it to client, and update data on client side,and only then I going to show it's to all clients at the same time, am I right?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire