orama icon indicating copy to clipboard operation
orama copied to clipboard

AWS S3 Persistence

Open resistdesign opened this issue 2 years ago • 2 comments

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.

resistdesign avatar Nov 30 '22 21:11 resistdesign

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.

maheshmogal avatar Dec 08 '22 10:12 maheshmogal

Do those functions load the entire database, though?

resistdesign avatar Jan 10 '23 05:01 resistdesign