FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Reenable the 10K Header optimization for SharedString virtualization

Open KRyan opened this issue 6 years ago • 2 comments

Describe the bug

In the past, it was possible to load the first 10K of a SharedString in a header block, which would be followed up by the body. This is necessary for scaling perf to long documents. However, this behavior has regressed and we always load the full SharedString.

Vlad shared that the runtime today "has a bug where we load both header & body at the same time. We would need to fix it. The reason it might be not straightforward is that op processing now is synchronous, and requires full data model to be loaded. but loading is async. So we need to teach merge tree to be able to apply ops in this state, which is likely very hard to do, so more simple solution of holding ops until it fully loads and applying them after that is required."

KRyan avatar Apr 20 '20 18:04 KRyan

@anthony-murphy has a plan to do this more generally with better chunking

curtisman avatar Apr 24 '20 17:04 curtisman

Dup of #89

curtisman avatar May 30 '20 17:05 curtisman