FluidFramework
FluidFramework copied to clipboard
Fluid Framework helper utility for proposing code
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
nclients, expects something liken(n-1)rejection ops