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

Primary cache: range bucketing #4810

Open
teh-cmc opened this issue Jan 15, 2024 · 1 comment
Open

Primary cache: range bucketing #4810

teh-cmc opened this issue Jan 15, 2024 · 1 comment
Assignees
Labels
blocked can't make progress right now 📉 performance Optimization, memory use, etc 🔍 re_query affects re_query itself

Comments

@teh-cmc
Copy link
Member

teh-cmc commented Jan 15, 2024

Necessary to prevent OOO write complexity from growing linearly in the range cache.

@teh-cmc teh-cmc added 🔍 re_query affects re_query itself 📉 performance Optimization, memory use, etc labels Jan 15, 2024
@teh-cmc teh-cmc self-assigned this Jan 18, 2024
@teh-cmc teh-cmc modified the milestone: 0.13 Jan 30, 2024
@teh-cmc
Copy link
Member Author

teh-cmc commented Apr 23, 2024

No point in implementing this in the cache right now while we're moving towards a world where A) the store is natively bucketized and B) the deserialization cache will be replaced by compaction on the store side.

@teh-cmc teh-cmc removed their assignment Apr 23, 2024
@teh-cmc teh-cmc added the blocked can't make progress right now label Apr 23, 2024
@teh-cmc teh-cmc self-assigned this Apr 23, 2024
teh-cmc added a commit that referenced this issue May 3, 2024
A cheap fix for #5686, both in terms of added code and runtime
performance, as it only kicks in in very particular circumstances.
The test added in this PR explains the situation better than words ever
could.

The proper solution here would to implement proper bucketing in the
range cache (#4810), but that's a much bigger change that I don't want
to get into until after the upcoming drastic changes to the datastore.

- Fixes #5686
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked can't make progress right now 📉 performance Optimization, memory use, etc 🔍 re_query affects re_query itself
Projects
None yet
Development

No branches or pull requests

1 participant