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

[META] Tiered Caching 3.0 changes #17303

Open
peteralfonsi opened this issue Feb 7, 2025 · 0 comments
Open

[META] Tiered Caching 3.0 changes #17303

peteralfonsi opened this issue Feb 7, 2025 · 0 comments
Assignees
Labels
Meta Meta issue, not directly linked to a PR Search:Performance

Comments

@peteralfonsi
Copy link
Contributor

peteralfonsi commented Feb 7, 2025

Please describe the end goal of this project

Tiered caching is mostly complete in versions 2.17 onwards. However there are some small non-backwards-compatible changes we can make when 3.0 comes out.

New features

  • Track the fraction of incoming requests that are cacheable at the IndicesService level and expose this, likely in the nodes stats API. This will help users determine whether changing the new indices.requests.cache.maximum_cacheable_size might be helpful to them, and see the effects after turning it on.
  • Track the average caching latency and expose this, likely in the cache-implementation-level stats API

Features to remove

  • Remove FeatureFlags.PLUGGABLE_CACHE
  • Remove the deprecated indices.requests.cache.size setting in favor of cache implementation-specific settings like indices.requests.cache.opensearch_onheap.size, indices.requests.cache.tiered_spillover.disk.store.size, etc
  • Remove the old indices request cache stats tracked through ShardRequestCache in favor of the cache-level stats implementation
  • Remove documentation about how TC is an experimental feature

Supporting References

These are fairly small changes so we don't have RFCs around them. Overall TC issue is here

Issues

Related component

Search:Performance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Meta Meta issue, not directly linked to a PR Search:Performance
Projects
Status: New
Status: 🆕 New
Development

No branches or pull requests

3 participants