FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Overloading server with ops

Open arinwt opened this issue 6 years ago • 1 comments

If the server can be overloaded by receiving too many ops at once, the runtime could build in some mechanism to throttle itself and wait for some of its ops to be acked before posting more. There are a lot of details/problems to iron out here, but something like the following could be a starting point:

  • Server states it cannot handle more than N in-flight ops at a time (ops not yet stamped)
  • Any given client should not try to send more than k ≤ N ops before they are acked
  • Runtime can give a brief break after k op
    • so server can process its ops
    • and this client can listen for incoming ops, including acks of its own ops

Need to be wary of msn holding in this case. Need to be conscious that server can still be overloaded with many clients.

There have been a few scenarios where consumers are trying to send a lot of ops at once. There may be alternative solutions to these, but the general problem still exists.

arinwt avatar Aug 11 '20 15:08 arinwt

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

ghost avatar Jun 08 '21 00:06 ghost