Image storage

Posted by Skeptical, 01-27-2011, 03:07 AM
Suppose a website is running on 3 web servers, and there are 40GB of image files. Which is a better option? - Mount the image folder using NFS to each web server. Easier to maintain but will be slower due to the files having to go through a network to get served up. - Each webserver has its own copy of the image files. This will mean fast load times, but higher maintenance prices (rsync to sync the files across all web servers)

Posted by synrg, 01-28-2011, 04:11 PM
My vote would be option 1. Yes it would be slightly slower over the network but I cant imagine the weakest link in the chain is going to be the network transfer so it shouldnt be an issue. Much easier to backup, much easier to change, much easier to expand once you have 4000gb of pictures.

Posted by Skeptical, 02-01-2011, 09:33 AM
Great input! Anyone else have any thoughts?

Posted by csparks, 02-01-2011, 08:25 PM
you could use a Distributed Filesystem, I have no experience with these (but will have to learn pretty soon), but it basically makes all the servers act as one filesystem (maybe like NFS, not sure if they are the same or not, and if so, sorry)

Posted by Squidix - SamBarrow, 02-02-2011, 01:10 AM
I'd try to find a way to put the images on a single server for read access, and use an NFS mount to write the images (if they are being uploaded through the web site on these 3 servers).

Posted by praveenkv1988, 02-02-2011, 03:19 AM
Using NFS is the better option. That will make sure images are available for all 3 servers at anytime.

Posted by ayna, 02-09-2011, 07:17 AM
Hello, Best is NFS. Thanks for pot this information..its very interesting to visit this websites..

Posted by eShop-Systems, 02-09-2011, 09:03 AM
Use cloud hosting. Your images keep away for other applications so that your website is always up and running (and running fast).

Posted by athenspc, 02-09-2011, 09:19 AM
Serving the images from a cloud server can lead into many problems. One is security and the other is the high traffic that your cloud server might have occassionaly.

Posted by pmwebster, 02-09-2011, 11:25 AM
For 40gb? I'd use rsync. That way you have a backup in triplicate without any further effort

Posted by mahesh2010, 02-10-2011, 02:22 AM
Hi, For this Question Cloud computing can solve the problem, Cloud servers can make Images from single cloud and Much faster than VPS hosting but little bit costly than VPS servers

Hjalp dette svar dig?

 Print denne artikel

Læs også

2 questions about setting up domain registration!!

Posted by 21inchguns, 09-13-2001, 09:41 AMHi there, I just have two questions regarding setting...

Can a server log a user out of a script?

Posted by iowaguy1, 03-19-2007, 03:07 PMI am having a site coded for me and I noticed that I get...

Please help with php coding problem

Posted by registercheaper, 03-06-2010, 01:43 AMI have the following code for a video site. I need...

Transparent Reselling . . . ?

Posted by Piano, 08-23-2002, 01:53 PMHow much annoniminity can a reseller have? And what things...

Easy Exchange Administrator ?

Posted by netguy5, 08-22-2007, 12:58 AMHi guys, Does anyone of you guys use Easy Exchange...