this post was submitted on 16 Jul 2024
145 points (98.0% liked)

Selfhosted

40347 readers
330 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Note: I am not affiliated with this project in any way. I think it’s a very promising alternative to things like MinIO and deserves more attention.

you are viewing a single comment's thread
view the rest of the comments
[–] GBU_28@lemm.ee 4 points 4 months ago (2 children)

Thoughts on this vs postgres blob storage? I know they aren't the same thing.

[–] anzo@programming.dev 9 points 4 months ago (1 children)

Buckets have a lot of features that postgres don't. Like mounting via FUSE. And Garage in particular offers some integrations to apps, websited, and so on. I would go with this instead of having a column of byte data in a DB table. The pgsql solution might work in small and simple cases (e.g. storing the user's avatar in a forum) but even so, if I could or had to choose, I wouldn't do it.

[–] GBU_28@lemm.ee 4 points 4 months ago

Great points.

For isolated projects in the past I've had great success storing things in postgres,. (generally large documents that are relationally tied to other more traditional PG data, in a db driven project) Just saying size and recall have been pretty happy.

As you say the other features are distinguishing.

[–] morbidcactus@lemmy.ca 4 points 4 months ago

I'm always personally wary of storing blobs in a database if for no other reason it's going to totally be more expensive to store on a server rather than in some sort of blob storage.