File uploading & retrieval
Unanswered
Erlandsson posted this in #help-forum
Hey all! I'm looking for input on file storage for a Next.js SaaS app and some other applications I have.
Right now I'm thinking of two main options:
- UploadThing (https://uploadthing.com/) - Looks super clean, easy to integrate, optimized.
- S3 storage - I'm considering Hetzner Object Storage for flexibility and reuse across projects.
Use case: user-uploaded images, videos, logos etc.. I'm currently using multer with local server storage, but I want to move away from that.
I haven't worked with S3 before, so there's a bit of a learning curve I guess. But I'm comfortable digging into it and learning it.
Questions:
1. Is UploadThing a solid long-term choice, or am I better of going with S3?
2. Have anyone used Pushduck (https://github.com/abhay-ramesh/pushduck) or similar setups for handling S3 uploads?
3. Any recommendations when choosing Hetzner's S3 vs AWS? (I'm using Hetzner for servers etc, so I feel comfortable going with them)
Appreciate any input and pointers!
Right now I'm thinking of two main options:
- UploadThing (https://uploadthing.com/) - Looks super clean, easy to integrate, optimized.
- S3 storage - I'm considering Hetzner Object Storage for flexibility and reuse across projects.
Use case: user-uploaded images, videos, logos etc.. I'm currently using multer with local server storage, but I want to move away from that.
I haven't worked with S3 before, so there's a bit of a learning curve I guess. But I'm comfortable digging into it and learning it.
Questions:
1. Is UploadThing a solid long-term choice, or am I better of going with S3?
2. Have anyone used Pushduck (https://github.com/abhay-ramesh/pushduck) or similar setups for handling S3 uploads?
3. Any recommendations when choosing Hetzner's S3 vs AWS? (I'm using Hetzner for servers etc, so I feel comfortable going with them)
Appreciate any input and pointers!
17 Replies
1. I have used uploadthing few times but faced the same issue of upload promise not resolving and I got no support from their server so its bad for me
2. No but you can checkout minio
3. How about cloudflare R2 offering 10gb free?
2. No but you can checkout minio
3. How about cloudflare R2 offering 10gb free?
I tought minio was more for self-hosting your own S3 storage? So you mean I can use it to plug into an existing bucket?
Cloudflare R2 is a great shout!. Will definitely take a look at that!
Cloudflare R2 is a great shout!. Will definitely take a look at that!
yea minio is self host one
Ahh okay. I was wondering more about what to use to handle the uploads etc in the actual code
American black bear
I would go with minio, docker and some vps provider like hetzner
So you mean a separate VPS for the file storage?
And running minio in docker on that VPS?
And running minio in docker on that VPS?
American black bear
you can do that but you can also host the app in the same docker compose aswell
with everything hosted on the vps
the main benefit is that there is no latency between app database and storage
you are probably also going to need a database to run with minio depending on the app you are building
Yeah. I already have a dedicated server where I run everything.
I also have a database already so thats not a problem
I could run minio on the same dedicated server, but that is what I don't really want to do...
I also have a database already so thats not a problem
I could run minio on the same dedicated server, but that is what I don't really want to do...
Or yeah well... I could actually run it on that. I was thinking I need more disk space, but I think I should have enough for a good bit.
Hmm, im having issues logging in to the minio web ui
American Sable
@Erlandsson what about vercel blobs
i been wanting to try it for a long time
I think im going to go with Cloudflare R2 to be honest