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

Make TQueue persist work across transactions #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

treeowl
Copy link
Contributor

@treeowl treeowl commented May 24, 2018

Previously, TQueue could build up a large write list, leading
to the reader having to do too much work reversing it and aborting.
Rotate the queue more frequently so the reversal work will effectively
be saved even when a transaction aborts.

@treeowl
Copy link
Contributor Author

treeowl commented May 24, 2018

I haven't written proper tests for this, and haven't benchmarked it, but since I'd gotten pretty far along before @simonmar told me it wasn't a priority, I figured I'd at least get it down as a PR.

@treeowl treeowl force-pushed the persq branch 4 times, most recently from 5a14bf3 to 4404fad Compare May 24, 2018 04:08
Previously, `TQueue` could build up a large write list, leading
to the reader having to do too much work reversing it and aborting.
Rotate the queue more frequently so the reversal work will effectively
be saved even when a transaction aborts.
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 this pull request may close these issues.

1 participant