I have thought about the following solution for my Photo storage needs: I have a private VPN on where I could run some sort of photo gallery app. However, I have lots of photos (currently around 500 GB) so I'd have to host these elsewhere (e.g. So the photo software should have some sort of local cache (e.g. 10 GB) and access the main photo storage as little as possible (i.e. no periodic automatic scanning). Is there OSS photo software that can be configured like this?

@fuxoft a lot of hosting plans charge what they do because the disk is fast SSD storage. However, you can find plans that allow storage addons...usually something you can mount to a VPS, and that addon storage should be cheaper/larger than the expensive SSD storage.

@fuxoft But you have to read the fine print, because often the storage addons are restricted to certain datacenter regions.

@pj I am not quite sure how that relates to my problem? I already have a VPN with root access and fast (limited) SSD storage. I know about slow and cheap storage clouds (wasabi, Backblaze). I was asking how to get them play nicely together with a photo archiving / sharing / sorting online application.

@fuxoft well, with WordPress for example, you could "mount" the extra storage to the "uploads" directory and then the WP media library would have all your photos on the bigger mounted drive... Also, VPN & VPS are different, I think you mean VPS.

@pj Oh, yes, sorry, I means VPS. Your proposed solution would only work if the "slow" online storage was accessed infrequently, only when absolutely necessary. I am not sure if any of the open photo management projects support this. I will have to do some experimenting.

@fuxoft I think you want in-house storage (same data center) that will "mount" onto the VPS. 3rd party services may not integrate as well, bc separate data centers = slow performance (longer distance & latency.)

@pj Of course that would be easiest from the technical point of view but that would cost much more than 6 Euro/1000 GB of photos per month I get from I think it SHOULD be possible to have the photos in cheap "cold storage" and access them only as neccessary, while having 10 GB of local cache. All searching / indexing could be done locally in that cache. I am currently looking if someone already tried to implement that.

@fuxoft mount it using webdav. Dav2fs has configurable cache size. Never done personally though.

@mirek That's the obvious simple solution but I am afraid it falls apart when the software thinks that photos are on local filesystem and tries e.g. to regularly scan the disk for new photos.In my case that would be exceedingly slow and/or over my egress quota.

Sign in to participate in the conversation