title: Is there a good/right way to bulk update a shared matrix in Fluid
body: <p>We have an application that uses Fluid Framework where we have our data in a grid format. In order to enable collaboration on the grid, we had the data stored in a SharedMatrix. One of the issues we are having now is that the grid data can also be updated with an import. When the data is imported we update the shared matrix with a call similar to the following:</p>
  <p><code>this.sharedMatrix.setCells(rowStart, 0, colCount, data);</code></p>
  <p>We have a matrix consumer which is handles the events that occur. However when we get alot of data updates (ie over 3000 value changes in the <code>data</code> variable) we end up getting errors like:</p>
  <blockquote>
  <p>ContainerClose {&quot;category&quot;:&quot;error&quot;,&quot;error&quot;:&quot;Runtime detected too many reconnects with no progress syncing local ops&quot;,&quot;errorType&quot;:&quot;genericError&quot;,&quot;fluidErrorCode&quot;:&quot;-&quot;,&quot;attempts&quot;:15,&quot;message&quot;:&quot;Runtime detected too many reconnects with no progress syncing local ops&quot;,&quot;errorInstanceId&quot;:&quot;5021c069-c811-42ce-9522-bf98b61ab032&quot;,&quot;clientType&quot;:&quot;interactive&quot;,&quot;containerId&quot;:&quot;85ea5d8a-44ae-4194-9bfe-2043e4a64569&quot;,&quot;docId&quot;:&quot;045e982f-c69f-4b9d-bbcc-418a5c6db082&quot;,&quot;containerAttachState&quot;:&quot;Attached&quot;,&quot;containerLifecycleState&quot;:&quot;closing&quot;,&quot;containerConnectionState&quot;:&quot;Disconnected&quot;,&quot;dmInitialSeqNumber&quot;:97,&quot;dmLastProcessedSeqNumber&quot;:146,&quot;dmLastKnownSeqNumber&quot;:146,&quot;containerLoadedFromVersionId&quot;:&quot;f6293302ea7ef8ad4269c5f936d65a1159f65268&quot;,&quot;containerLoadedFromVersionDate&quot;:&quot;2022-04-22T22:52:13.000Z&quot;,&quot;dmLastMsqSeqNumber&quot;:146,&quot;dmLastMsqSeqTimestamp&quot;:1650667974489,&quot;dmLastMsqSeqClientId&quot;:null,&quot;connectionStateDuration&quot;:3.3999999994412065,&quot;loaderId&quot;:&quot;022ecce4-0fe1-4f50-8e9e-33f17bceb5c5&quot;,&quot;loaderVersion&quot;:&quot;0.58.2000&quot;} tick=12031 Error    at ContainerRuntime.setConnectionState (http://localhost:4200/src_app_main_main_module_ts.js:32011:22)    at ContainerContext.setConnectionState (http://localhost:4200/src_app_main_main_module_ts.js:27682:13)    at Container.propagateConnectionState (http://localhost:4200/src_app_main_main_module_ts.js:27284:20)    at Object.connectionStateChanged (http://localhost:4200/src_app_main_main_module_ts.js:25993:16)    at ConnectionStateHandler.setConnectionState (http://localhost:4200/src_app_main_main_module_ts.js:25674:18)    at ConnectionStateHandler.receivedDisconnectEvent (http://localhost:4200/src_app_main_main_module_ts.js:25589:10)    at DeltaManager. (http://localhost:4200/src_app_main_main_module_ts.js:27188:35)    at DeltaManager.emit (http://localhost:4200/polyfills.js:416:7)    at DeltaManager.disconnectHandler (http://localhost:4200/src_app_main_main_module_ts.js:28582:10)    at Object.disconnectHandler (http://localhost:4200/src_app_main_main_module_ts.js:28115:41) +0ms</p>
  </blockquote>
  <p>Is there a good way to handle these kinds of bulk data updates?</p>