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

Cache optimizations #883

Merged
merged 2 commits into from
Oct 27, 2024
Merged

Cache optimizations #883

merged 2 commits into from
Oct 27, 2024

Conversation

cberner
Copy link
Owner

@cberner cberner commented Oct 27, 2024

Fixes #879

This speeds up some workloads like ord indexing by ~20%
3d184aa unintentionally made the write
cache evict randomly. This fixes it to be LRU just like the read cache.

This speeds up some workloads, like ord indexing, by a factor of 4x or
more
@cberner cberner merged commit 5f19e41 into master Oct 27, 2024
3 checks passed
@cberner cberner deleted the optimizations branch October 27, 2024 20:18
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.

Possible performance regression from redb version 2.1.3 to 2.1.4
1 participant