FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

An exploration into temporal collab spaces (Loop DB workstream)

Open vladsud opened this issue 1 year ago • 2 comments

This is a prototype that explores what it would take to create temporal collab spaces. It allows to leverage complex components that depends on collab capabilities (in this prototype - single DDS), at the same time be able to transition to "flat" representation serialized as a cell value in SharedMatrix, and thus destroy more expensive collab state when collaboration is not required.

This is just a prototype, but with exception of some Pri1s & Pri2s mentioned in the code, it works and close to completion. That said, many of its stress tests are not passing as they discover existing bugs in Shared Matrix that must be fixed.

It will not go as is, as it needs to be modified to leverage data stores (not DDSs) as "channels", which is big change on its own. As such, this prototype is here only for reference.   The following internal MSFT document describes proposal: https://microsoft-my.sharepoint-df.com/:w:/p/vladsud/EfUMOWC2zPdMoFggka4ZSGUBiKJZs9mhQr-3bwPorUELag?e=PZRGqd

vladsud avatar Feb 19 '24 01:02 vladsud

@fluid-example/bundle-size-tests: +556 Bytes
Metric NameBaseline SizeCompare SizeSize Diff
aqueduct.js 517.45 KB 517.55 KB +109 Bytes
connectionState.js 680 Bytes 680 Bytes No change
containerRuntime.js 250.94 KB 250.94 KB No change
loader.js 127.97 KB 127.97 KB No change
map.js 42.89 KB 42.89 KB No change
matrix.js 145.03 KB 145.45 KB +436 Bytes
odspDriver.js 97.21 KB 97.21 KB No change
odspPrefetchSnapshot.js 41.91 KB 41.91 KB No change
sharedString.js 163.23 KB 163.24 KB +11 Bytes
sharedTree.js 329.49 KB 329.49 KB No change
Total Size 1.82 MB 1.82 MB +556 Bytes

Baseline commit: 87741829ff7ac96955229199e91399dbe98701ab

Generated by :no_entry_sign: dangerJS against 2d3752e513958418168228364fc8738989496470

msfluid-bot avatar Mar 06 '24 05:03 msfluid-bot

This PR has been automatically marked as stale because it has had no activity for 60 days. It will be closed if no further activity occurs within 8 days of this comment. Thank you for your contributions to Fluid Framework!