orama
orama copied to clipboard
AWS S3 Persistence
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I would like to store the data in S3.
Describe the solution you'd like A clear and concise description of what you want to happen.
When used in a lambda, I would like to have changes pushed to S3 and have an instance restored from S3. Not just as a file from S3, but with S3 being used as an object store for each, individual entry/item.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Bad things that run all the time and are not serverless.
Additional context Add any other context or screenshots about the feature request here.
we can write our own function to write and read from S3 using exportInstance
and importInstance
. 👍😊
Old
I was wondering the same. It would be great if the persistToFile function can be extended to store data in S3.
For now, I have managed to make it work with EFS. But with EFS you need VPC and that adds some latency.
Once S3 support is added, I would like to test what works faster S3 or EFS.
Do those functions load the entire database, though?