vectra icon indicating copy to clipboard operation
vectra copied to clipboard

Any possibilities of providing an in-mem vectra db?

Open siddharth178 opened this issue 1 year ago • 4 comments

Hi,

I am trying to work on a use-case where I will not have access to local storage. Vectra uses files as its index store. But is there a way to use memory as index store?

Any thoughts? suggestions?

Thanks,

siddharth178 avatar Nov 14 '24 06:11 siddharth178

Could you use /dev/shm (or similar) for the path passed to new LocalIndex() ?

hydrogen-js avatar Mar 06 '25 11:03 hydrogen-js

I'll work on adding in-memory support. I should have some time next week to get that in

Stevenic avatar Mar 31 '25 16:03 Stevenic

+1 Also looking to consume Vectra indexes in a browser environment. Will be a great addition!

iplanwebsites avatar May 11 '25 01:05 iplanwebsites

@Stevenic check out Origin Private File System. This could bring browser + permanent storage.

I guess you need to scan and traverse all the files and folder structure is just to make writes safer?

Mihailoff avatar May 22 '25 03:05 Mihailoff