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

Test std Mutex vs parking_lot #167

Open
arriqaaq opened this issue Jan 21, 2025 · 0 comments
Open

Test std Mutex vs parking_lot #167

arriqaaq opened this issue Jan 21, 2025 · 0 comments

Comments

@arriqaaq
Copy link
Contributor

          Seems like std Mutex performs better when highly contended which is our case with a large number of concurrent transactions. I've updated the PR to use parking_lot just for the sake of uniformity with other locks in the code base, but sometime later we might want to change every Mutex and RwLock to std and run the benches.

Originally posted by @gsserge in #166 (comment)

@arriqaaq arriqaaq mentioned this issue Jan 21, 2025
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

No branches or pull requests

1 participant