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

accounts-db: Improve hashing of the read-only cache #4300

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

vadorovsky
Copy link
Member

Problem

DashMap uses SipHash by default.

Summary of Changes

Change it to AHash, which is more lightweight.

Ref #4276

@brooksprumo
Copy link

I think this PR can live on its own. IOW, rebase on master and we can get it in as-is without needing to wait for #3943.

Copy link

@brooksprumo brooksprumo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Please wait for approval from @alessandrod too before merging.
Oh, maybe this my computer showing me suggested reviewers, and I jumped the gun here.

@vadorovsky vadorovsky requested a review from alessandrod January 6, 2025 20:13
@vadorovsky
Copy link
Member Author

Also, we need #4303 to unblock the CI

`DashMap` uses SipHash by default. Change it to AHash, which is more
lightweight.

Ref anza-xyz#4276
@vadorovsky vadorovsky marked this pull request as ready for review January 6, 2025 21:26
@vadorovsky vadorovsky merged commit 2415647 into anza-xyz:master Jan 7, 2025
40 checks passed
@vadorovsky vadorovsky deleted the ro-cache-hash branch January 7, 2025 07: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