Reputation: 4007
According to my researches I've encountered three different places to store files for a webserver.
Storing in databases is not recommended. Between the selection of filesystem and Amazon S3 what are the ups and downs of them?
Main points I consider is technical difficulty(time), scalability.
Upvotes: 0
Views: 79
Reputation: 9782
As noted, databases aren't usually well suited for image storage.
Whether to use the filesystem or Amazon S3 probably depends on the nature of your application and images. If the images are common to the application (such as design images) and can be deployed with every instance without requiring synchronization, they can stay in the filesystem. If the images are shared, it might be better to store them on S3 so they can be accessed and maintained by multiple instances.
Providing a mechanism to access the images for maintenance should be considered as well.
Upvotes: 1