flow-like icon indicating copy to clipboard operation
flow-like copied to clipboard

Configurable LanceDB Cache Sizes

Open felix-schultz opened this issue 5 months ago • 0 comments

Lance has metadata and index caches, but right now we just use the default LanceSession.

We should expose config for cache sizes so we can tune remote LanceDB tables better, especially when tables are on S3 / GCS.

Probably useful settings:

  • index cache size
  • metadata cache size
  • whether cache is shared across execution runs
  • cache scope: app_id / user_id / tenant_id / none

Defaults should be safe for multi-tenant usage. App level isolation seems like the best default.

  • [ ] add Lance cache config
  • [ ] wire config into FlowLikeState LanceSession creation
  • [ ] support disabling shared cache for stricter isolation
  • [ ] add sane defaults for server and client

felix-schultz avatar Jun 14 '26 16:06 felix-schultz