If I have a webapp which serves images to users, is it very bad to store the images in the database? (assume Heroku and PostgresSQL).
-
-
Answer:
You could do it if you have small images. But with images as heavy as a few Mo of Ko it's not a good idea. Why would you do that when it's so simple to store them remotly on Amazon S3, Rackspace, etc.?
Michel Pigassou at Quora Visit the source
Other answers
You can store the images in database, in /tmp folder within Heroku, or in S3. Where you store it depends on your application, but Heroku recommends you to store it in S3.
Robin Thomas
Related Q & A:
- Can I create a second filestream container on an existing SQL Server 2008 database without going offline?Best solution by Database Administrators
- How to store documents/images/video on a different server in sharepoint 2010?Best solution by SharePoint
- Where do I initialize a database?Best solution by Stack Overflow
- Where can I keep a database?Best solution by Stack Overflow
- How do I change a password directly in the PhpBB3 SQL database?Best solution by Server Fault
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.