FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Fluid Framework helper utility for proposing code

Open arinwt opened this issue 6 years ago • 0 comments

Proposing code in a way that ensures only one proposal at a time is accepted can be tricky. It would be nice to wrap this in a helper utility and provide it somewhere in the Fluid Framework code.

Part of this work should be to simplify "code" quorum API to external callers by providing a utility for not only proposing code, but a simplified API for detecting upgrade events.

Ensuring exactly one proposal is made

  • Slower worst-case scenario (chosen clients keep timing out)
  • Expects 0 rejection ops, maybe still keep logic as backup

All propose, relying on rejection

  • Should have faster worst-case scenario
  • With n clients, expects something like n(n-1) rejection ops

arinwt avatar Feb 20 '20 00:02 arinwt