Conclusion

The table below shows an overview of how well the storage solutions scored for each of the criteria. Totals are calculated by taking the sum of the scores multiplied by the respective weight factor.

CriterionWeightFileObjectDatabase
Total size5453
Item size3554
Performance3531
Accessing data3352
JavaScripts support5542
Scalability2451
Portability1352
Total959950

File and object storage are both strong contenders. Object storage is more cloud-focussed, but at the same time allows access from across the internet. File storage is easier to start with locally, as every server has some kind of drive that files can be stored on. Although the infinite scalability of object systems is an attractive feature, local file storage should in many cases be enough for personal uses. Ultimately, this makes files storage more in line with the self-hosted nature of the Photo Gallery, which means I’ll be using it to develop the application.