Skip to content

Commit 4f9ccba

Browse files
authored
feat(cubesql): Implement time to idle eviction for query cache (#10176)
Let's reduce memory usage: If entries are not used, let's cleanup them after 1 hour.
1 parent 18a18ff commit 4f9ccba

File tree

5 files changed

+295
-74
lines changed

5 files changed

+295
-74
lines changed

packages/cubejs-backend-native/Cargo.lock

Lines changed: 78 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/cubesql/Cargo.lock

Lines changed: 102 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/cubesql/cubesql/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ sha1_smol = "1.0.0"
5454
tera = { version = "1", default-features = false }
5555
minijinja = { version = "1", features = ["json", "loader"] }
5656
lru = "0.13.0"
57+
moka = { version = "0.12", features = ["future"] }
5758
sha2 = "0.10.8"
5859
bigdecimal = "0.4.2"
5960
indexmap = "1.9.3"

0 commit comments

Comments
 (0)