Live data from Hacker News

Supabase Storage now supports the S3 protocol

supabase.com

131–140 of 194 posts

Re: Supabase Storage now supports the S3 protocol

#131

Hi, a question, but first some background. I've been looking at solutions to store columnar data with versioning, essentially Parquet. But, I'd also like to store PDFs, CSVs, images, and such for our ML workflows. I wonder if now, that Supabase is getting better for data science DuckDB crowd, could Supabase be that one solution for all this?

you should look at lance(https://lancedb.github.io/lance/)

Re: Supabase Storage now supports the S3 protocol

#132
post #72

Always thought it’s kind of odd how the proprietary API of AWS S3 became sort of the de-facto industry standard

I might be misremembering this but I was under the impression that Ceph offered the same or very similar object storage API prior to Amazon building S3.

Re: Supabase Storage now supports the S3 protocol

#133
post #57

I like to Lob my BLOBs into PG's storage. You need that 1-2TB of RDS storage for the IOPS anyway; might as well fill it up. Large object crew, who's with me?!

that's not how this works. files are stored in s3, metadata in postgres

Will the files get deleted with ON CASCADE DELETE somehow? That would be awesome.

Then for GDPR, when you delete a user, the associated storage can be deleted.

One could cobble this together with triggers, some kind of external process, and probably repetititious code so there is one table of metadata per "owning" id, although it would be nice to be packaged.

Re: Supabase Storage now supports the S3 protocol

#134
post #133

Earlier quoted context omitted.

that's not how this works. files are stored in s3, metadata in postgres

Will the files get deleted with ON CASCADE DELETE somehow? That would be awesome. Then for GDPR, when you delete a user, the associated storage can be deleted. One could cobble this together with triggers, some kind of external process, and probably repetititious code so there is one table of metadata per "owning" id, although it would be nice to be packaged.

That's an interesting concept. Of course you don't want to delete your record of the blob until the blog is deleted.. A trigger could add a "job" to delete the blob into another table when the file record is deleted though..

Re: Supabase Storage now supports the S3 protocol

#135
post #36

This looks great! How easy is it to self host Supabase? Is it more like "we're open-source, but good luck getting this deployed!", or can someone really build on Supabase and if things get a little too expensive it's easy enough to self-host the whole thing and just switch over? I wonder if people are doing that.

self-hosting docs are here: https://supabase.com/docs/guides/self-hosting/docker And a 5-min demo video with Digital Ocean: https://www.youtube.com/watch?v=FqiQKRKsfZE&embeds_referring... Anyone who is familiar with basic server management skills will have no problem self-hosting. every tool in the supabase stack[0] is a docker image and works in isolation. If you just want to use this Storage Engine, it's on docker-…

I was pretty unhappy with the self hosted offering. It’s neutered compared to the cloud, which was disappointing.

Re: Supabase Storage now supports the S3 protocol

#136

Earlier quoted context omitted.

self-hosting docs are here: https://supabase.com/docs/guides/self-hosting/docker And a 5-min demo video with Digital Ocean: https://www.youtube.com/watch?v=FqiQKRKsfZE&embeds_referring... Anyone who is familiar with basic server management skills will have no problem self-hosting. every tool in the supabase stack[0] is a docker image and works in isolation. If you just want to use this Storage Engine, it's on docker-…

I was pretty unhappy with the self hosted offering. It’s neutered compared to the cloud, which was disappointing.

> neutered

Can you share more? There is nothing missing, it’s all the same code that we run in production (besides some login changes to keep it decoupled from the platform)

Re: Supabase Storage now supports the S3 protocol

#138
post #72

Always thought it’s kind of odd how the proprietary API of AWS S3 became sort of the de-facto industry standard

Supporting an existing API provides interoperability which is beneficial for the users. So that way if there is a better storage service it’s easier to adopt it. However, the S3 API compatibility can be a hindrance when you want to innovate and provide additional features and functionality. In our case, providing additional features [1] [2] while continuing to be S3 API compatible has forced us to rely on custom headers.

[1] https://www.tigrisdata.com/docs/objects/conditionals/ [2] https://www.tigrisdata.com/docs/objects/caching/#caching-on-...

Re: Supabase Storage now supports the S3 protocol

#139

You specifically say "for large files". What's your bandwidth and latency like for small files (e.g. 20-20480 bytes), and how does it compare to raw S3's bandwidth and latency for small files?

S3 is not known for performing well with such small files. Is this primarily how your dataset on S3 looks like?

Re: Supabase Storage now supports the S3 protocol

#140
post #14

Shouldn't it be API rather than protocol? Also my sympathies for having to support the so-called "S3 standard/protocol".

I think that protocol is appropriate here since s3 resources are often represented by a s3:// url where the scheme part of the url is often used to represent the protocol.

S3 uses HTTP protocol for communication between client and server. The `s3://` paths make it seem like it’s a protocol but that’s just a way to represent the path on the s3 client to differentiate it from a local file path.
Post reply on HN