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

Use a lockfree structure for BufferPool #170

Merged
merged 1 commit into from
Nov 6, 2021

Conversation

vkrasnov
Copy link
Contributor

@vkrasnov vkrasnov commented Nov 5, 2021

Currently the Mutex in BufferPool may be contested under heavy load. That
in turn increases the load even more, leading to a steep drop in QPS. Using
a lockfree ArrayQueue instead resolves the issue improving performance by
up to 4x.

Fixes #169

Currently the Mutex in BufferPool may be contested under heavy load. That
in turn increases the load even more, leading to a steep drop in QPS. Using
a lockfree ArrayQueue instead resolves the issue improving performance by
up to 4x.
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.

BufferPool is extremely slow under contention
2 participants