Skip to content

Is Chunks Cache Required if Running Blocks Storage Engine? #4565

Answered by dgonzalezruiz
michael-burt asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, although the wording can be confusing. From https://cortexmetrics.io/docs/blocks-storage/ -->

). Each block is composed by chunk files - containing the timestamp-value pairs for multiple series - and an index, which indexes metric names and labels to time series in the chunk files.

So, for caching your blocks storage query path / avoiding to refetch already queried samples, you would have to at least run both chunk and index cache.
You also can configure a separate cache for metadata & query results for even more caching, and there are some more tips for scaling it on https://cortexmetrics.io/docs/blocks-storage/production-tips/#caching

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@michael-burt
Comment options

Answer selected by michael-burt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants