FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Reload context should do minimal work ("fast") summary

Open arinwt opened this issue 6 years ago • 1 comments

During reload context, currently each container will create an in-memory summary to use after reloading. It might be nice for this summary to be a specialized summary where the ContainerRuntime just keeps a pointer to the previous summary + a blob of outstanding ops. This will prevent the runtime from traversing the full tree and reduce risk with components being in a local state.

Some considerations:

  • these changes should be isolated to the ContainerRuntime, to minimize complexity
  • local changes to components/dds might be lost(?)

arinwt avatar Feb 21 '20 22:02 arinwt

Should be unlocked by #2716. Additional changes will be:

  1. Enable explicitly doing "failure" summary by SummarizerNode (should be simple)
  2. Add loadBaseSummary call at ContainerRuntime level (should be simple)
  3. Should disregard ".protocol" from baseSummary when decoded, and tack it on to the encoded summary, because this is at loader layer.

The main work here is to hopefully eliminate the legacy snapshot functions from Container and replace it with summarize.

arinwt avatar Jul 30 '20 18:07 arinwt