Closed davidgasquez closed 1 year ago
Hi, good question! I'm assuming you're not referring to HTTP caching given that you're running Seafowl locally (in case you do, here are the docs that describe that scenario: https://seafowl.io/docs/guides/querying-cache-cdn).
There is an additional caching option, which is to persist the objects in a local file system cache; this feature is a bit hidden in the docs though: https://seafowl.io/docs/reference/seafowl-toml-configuration#object_storecache_properties-section
Here's an example of that option in our integration tests: https://github.com/splitgraph/seafowl/blob/main/tests/statements/mod.rs#L71-L80
Does that help?
(Also note that we keep some benchmarks in a Observable notebook, though I believe that uses a local FS object store to begin with.)
Yes! I think I was looking for something like object_store.cache_properties
will try that out @gruuya. :smile:
Thanks a lot!
Hey there! I wanted to run some benchmarks with Seafowl and wasn't sure how to make Seafowl hit the query cache.
My
seafowl.toml
looks like this:I've run the following query to create a table:
And am querying it like this:
Is it expected for Seafowl to reach out to the object store with the same exact query or am I missing some configuration to save the results in a cache?