Replies: 3 comments 1 reply
-
|
Perspective used to have a Unrelated, but should be noted the |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the details @texodus! Yes I wasn't 100 percent sure how much difference it would make. Guess it comes down to having a mixture of columns that don't update frequently at all but a few that do very frequently, if there are a lot of rows, columns (strings) and clients it starts adding up. Obviously there are only so many columns and rows a person can look at so limiting columns is one option, but then server view mode has a bit of lag which isn't ideal. Maybe a hybrid server view mode where you limit the columns that are sent from the server could work - something I'm looking at doing at the moment via a separate ui (setting a restricted set of columns on the server view). For instance (not my actual project :)) maybe you wanted to build an ebay dashboard showing ticking prices, but then all the catagory data for each item, size, color, year, name, location etc etc. You know you are looking for shoes at the moment so only size, color and material matter, you select only those columns and price - do some ordering to find the shoes you want. You don't really want all the relatively static data updating for everything on each price change. Can deal with it through replication and load balancing but eventually makes the client lag a bit too. Ill come up with a replication of what I mean, but seems like there isn't an easy solution, so restricting columns before getting to browser - putting it in shoe mode seems like the play. |
Beta Was this translation helpful? Give feedback.
-
|
Looking at this again I guess I'm asking whether a "column" based update mode is possible, seems like it would be a good fit given the ability to do partial column based updates. In the example below there is a table with a lot of unchanging columns, if there are lots of partial updates on price you can end up burning a lot of network/memory bandwidth on unnecessary updates. Like we know that category definitely wont need updating if we get a partial update only on price. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have quite a wide data set so was looking at doing some optimisation and not sending unchanged data at every tick. However it seems like perspective is sending out full rows even on partial updates? Is this right, is there any way around it I've missed?
Beta Was this translation helpful? Give feedback.
All reactions