photo-management

storing uploaded photos and documents - filesystem vs database blob

假装没事ソ 提交于 2019-11-27 23:04:59
My specific situation Property management web site where users can upload photos and lease documents. For every apartment unit, there might be 4 photos, so there won't be an overwhelming number of photo in the system. For photos, there will be thumbnails of each. My question My #1 priority is performance. For the end user, I want to load pages and show the image as fast as possible. Should I store the images inside the database, or file system, or doesn't matter? Do I need to be caching anything? Thanks in advance! While there are exceptions to everything, the general case is that storing

storing uploaded photos and documents - filesystem vs database blob

南楼画角 提交于 2019-11-26 21:17:04
问题 My specific situation Property management web site where users can upload photos and lease documents. For every apartment unit, there might be 4 photos, so there won't be an overwhelming number of photo in the system. For photos, there will be thumbnails of each. My question My #1 priority is performance. For the end user, I want to load pages and show the image as fast as possible. Should I store the images inside the database, or file system, or doesn't matter? Do I need to be caching