-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce an in-order processing mode for WriteRequests #466
Comments
Any updates on this issue? Should we discuss this at the WG meeting tomorrow? |
We can, but I'm prioritizing PR #472 before next meeting, so I'm not convinced there will be much to say. I believe the last update here was for me to decide which one I liked among a number of suggested designs and write a PR for that so we can discuss more concretely. The most promising designs were:
Another option is to encode the barrier with another level of indirection, though this would be slightly trickier to make backwards compatible. And we've had discussions about how there are already too many levels of indirection for use cases that write large amounts of updates. |
@jonathan-dilorenzo, would we want to push on this before 1.4.0? If so we should add the label. |
I think let's not make that assumption at least. If 1.4.0 ends up getting delayed sufficiently, then I may be able to, but I don't really have the cycles in the next few months at least. |
@jonathan-dilorenzo bump - Sept 13 cutoff for 1.4.0 |
Thanks for the ping Chris! Let's plan not to get this in for 1.4.0. I think it needs a bit more thought. |
I'm hoping to introduce different processing modes for write requests. Right now, the only processing mode is
Arbitrary Order
(or something like that), which denotes that the server can process the updates of a write request in any order it wants.We're hoping to introduce an
In order
processing mode, denoting that the server must process the request from start-to-finish. The goal, for us, is that this change (along with a new atomicity mode that I'm hoping to introduce, which is basically, STOP_ON_ERROR) will let us send a bunch of updates where we care about the ordering in a single batch, which is a more significant gain for us than letting the switch choose its processing order. Of course, this also means that the performance of a request is likely dependent on ordering in a way that it didn't use to be, potentially putting a new onus on the controller to understand what leads to high vs low performance.I'm planning to make a PR for this to make it more concrete, but am currently having some GitHub access issues that I'm working on resolving.
The text was updated successfully, but these errors were encountered: