Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: direct s3 storage access for PGlite #77

Draft
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

jgoux
Copy link
Contributor

@jgoux jgoux commented Aug 15, 2024

We are currently storing zipped tarballs of the PGDATA in S3 compatible storages. But it comes with complications:

  • we must download and decompress the archive on the local filesystem
  • we must have a cache strategy in place to clean the local filesystem

Connecting PGlite to S3 directly through s3fs is simpler as we don't need to deal with local filesystem and caching.

So far this PR works locally against Supabase Storage through the S3 compat layer.

We now need to test against a hosted Supabase Storage bucket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant