Skip to content
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

[Curp] Optimize the sync channel blocking mechanism #89

Closed
markcty opened this issue Nov 28, 2022 · 0 comments · Fixed by #85
Closed

[Curp] Optimize the sync channel blocking mechanism #89

markcty opened this issue Nov 28, 2022 · 0 comments · Fixed by #85

Comments

@markcty
Copy link
Contributor

markcty commented Nov 28, 2022

Currently, the sync of commands that can be executed speculatively will be postponed until the execution is finished. This is to preserve the execution order. For example, if a=1 and a=2 arrive sequentially. Only after a=1 finishes speculative execution will a=1 be synced. Only then will a=2 be synced and executed due to the key-based channel.

The postponement is unnecessary. We can add another mechanism to preserve the execution order. For example, store the execution order in a channel and spawn an execution task.

Originally posted by @rogercloud in #86 (comment)

@markcty markcty linked a pull request Nov 30, 2022 that will close this issue
@mergify mergify bot closed this as completed in #85 Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant