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 Results of the Exists CQL Expression #1051

Closed
12 of 14 tasks
juliangruendner opened this issue Jul 31, 2023 · 0 comments
Closed
12 of 14 tasks

Cache Results of the Exists CQL Expression #1051

juliangruendner opened this issue Jul 31, 2023 · 0 comments

Comments

@juliangruendner
Copy link
Contributor

juliangruendner commented Jul 31, 2023

The CQL cache is deactivated per default. In order to activate it, please set the env var CQL_EXPR_CACHE_SIZE to a value of the size of the cache in MiB.

Todos

  • generate new PatientAsOf index on the fly without the need to generate all indices
    • generation works
    • investigate memory leak
    • prevent repetitive index generation on once successfully generated index
  • ensure that all CQL expressions have a form
  • test with real data and evaluate the cache hit ratio
  • allow to disable the cache
  • document the improved performance results
    • 100k on LEA47
    • 1M on LEA47
    • 1M on LEA58
  • don't cache excessive big expressions
  • constrain the Bloom filter generation queue
  • show stats in the UI
@juliangruendner juliangruendner linked a pull request Jul 31, 2023 that will close this issue
@alexanderkiel alexanderkiel changed the title Extend blaze with a cql cache Extend Blaze with a CQL Cache Aug 1, 2023
alexanderkiel added a commit that referenced this issue Nov 9, 2023
The cost of opening an iterator doesn't impact the query performance in
a significant way. Especially if we have a CQL Cache through #1051 the
performance impact would be negligible.

Closes: #1217
@alexanderkiel alexanderkiel added this to the v0.28.0 milestone May 28, 2024
@alexanderkiel alexanderkiel changed the title Extend Blaze with a CQL Cache Cache Results of the Exists CQL Expression Jun 12, 2024
alexanderkiel added a commit that referenced this issue Jun 12, 2024
alexanderkiel added a commit that referenced this issue Jun 12, 2024
alexanderkiel added a commit that referenced this issue Jun 12, 2024
alexanderkiel added a commit that referenced this issue Jun 13, 2024
alexanderkiel added a commit that referenced this issue Jun 13, 2024
alexanderkiel added a commit that referenced this issue Jun 13, 2024
alexanderkiel added a commit that referenced this issue Jun 14, 2024
alexanderkiel added a commit that referenced this issue Jun 17, 2024
alexanderkiel added a commit that referenced this issue Jun 17, 2024
alexanderkiel added a commit that referenced this issue Jun 18, 2024
alexanderkiel added a commit that referenced this issue Jun 23, 2024
alexanderkiel added a commit that referenced this issue Jun 24, 2024
alexanderkiel added a commit that referenced this issue Jun 24, 2024
alexanderkiel added a commit that referenced this issue Jun 24, 2024
alexanderkiel added a commit that referenced this issue Jun 24, 2024
We need this functionality for all key-value instead of only for
RocksDB because we will use it in the CQL expression cache.

Needed in: #1051
alexanderkiel added a commit that referenced this issue Jun 24, 2024
We need the cache collector in the CQL expression cache.

Needed in: #1051
alexanderkiel added a commit that referenced this issue Jun 24, 2024
We need the cache collector in the CQL expression cache.

Needed in: #1051
alexanderkiel added a commit that referenced this issue Jun 24, 2024
We need the cache collector in the CQL expression cache.

Needed in: #1051
alexanderkiel added a commit that referenced this issue Jun 24, 2024
alexanderkiel added a commit that referenced this issue Jun 25, 2024
alexanderkiel added a commit that referenced this issue Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants