You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the reminder, I'm sorry for the slow progress due to my busy work lately.
My initial idea was to provide a snapshot-like mechanism based on the recently added engine::Context and apply it to Multi/Exec.
A single engine::Context will manage multiple commands and replace exclusive locks compared to normal commands.
Now to consider:
engine::Context is still experimental and unstable, do we want to support the new Multi/Exec pattern based on it now?
An implementation based on engine::Context may improve concurrency, but at the cost of not achieving a serializable level of isolation, which I'm not sure fits into Multi/Exec's semantics
The above is my current thoughts, if you have other better suggestions, please also welcome to discuss.
Search before asking
Motivation
Issue referencing #2331
Want to optimize concurrency when executing transactions with multiple commands.
Solution
Possibly implement OCC or some other concurrency while not introducing too much complexity to the codebase.
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: