Hello,
I'm new to providing image content online and I need to take the right
approach early in my development to avoid any significant performance
or storage hits later on. I'm using Ruby on Rails to provide large
image content on my website. However, I'm not sure if I should store
images on server or in database for faster retrieval. The images that
will be saved are uploaded by website visitors. I tried finding
content online on this subject and I've come across the three
approaches of:
   * Storing images as binary in the database.
   * Storing only the URL of the images that point to the file system
actual image on the server.
   * Dynamically build the URL (relative path) of the images that are
saved on the file system under the server.

I would greatly appreciate if you can provide me with your
professional advice on this topic or direct me to good resources where
I can read further on that subject.


Thanks,
SS

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to