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

Lock-free AwaitWALCommitted (and smoother queue?) #116

Merged
merged 4 commits into from
Aug 6, 2024

Conversation

yzqzss
Copy link
Contributor

@yzqzss yzqzss commented Aug 5, 2024

  • Make batchEnqueueUntilCommitted release the mutex lock before executing AwaitWALCommitted so that multiple batchEnqueueUntilCommitted can be executed concurrently with/like enqueueUntilCommitted.
  • try to use a fixed fsync interval (currently hardcoded 100ms) to achieve smoother queue performance.

@yzqzss yzqzss changed the title Lock-free AwaitWALCommitted Lock-free AwaitWALCommitted (and smoother queue?) Aug 5, 2024
@equals215 equals215 self-requested a review August 5, 2024 14:59
@CorentinB CorentinB merged commit 2ac2af5 into internetarchive:main Aug 6, 2024
1 check passed
@yzqzss yzqzss deleted the lock-free-await branch September 1, 2024 18:59
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.

3 participants