How can a client efficiently update a large number of cells in a SharedMatrix? #11935
jogoertzen-stantec
started this conversation in
General
Replies: 1 comment
-
You will always get separate change notifications, even when the set operations are grouped. Most customers coalesce events by deferring action until after the runtime has drained the queue of pending ops, typically by using I recommend you have a look at the introduction to #4048, which describes the atomicity guarantees you get by deferring the app's response to change events. Note that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Note: I posted this same question here a few months ago, but I think this may be a better place to ask it.
I want to update the values of a large number (eg. 10,000) of cells in a SharedMatrix via setCells, but I don't want other connected clients to get 10,000 cellsChanged events (ie. one event for each cell).
Is it possible to use something like orderSequentially or groupOperation to somehow batch all the updates together so that it results in a single operation being broadcast to other connected clients?
I am using the AzureClient with Angular and connecting to a tinylicious server.
Beta Was this translation helpful? Give feedback.
All reactions