Overloading server with ops
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
Nin-flight ops at a time (ops not yet stamped) - Any given client should not try to send more than
k ≤ Nops before they are acked - Runtime can give a brief break after
kop- 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.
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!