Mobile app version of vmapp.org
Login or Join
Reiling115

: Is access time of images dependant on number of images on server? I expect to host a website with many images, and I mean many - around 300-400k. I am wondering if the number of items on

@Reiling115

Posted in: #Apache #Server #Webserver

I expect to host a website with many images, and I mean many - around 300-400k.

I am wondering if the number of items on my server affects access time? In other words, will GET requests be slower because I host so many images? Is saving images in plain folders even the way to go? Should I use some other method of organising images, such as databases?

The main concern here is how fast the client can get images from server.

Thanks for help

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Reiling115

2 Comments

Sorted by latest first Latest Oldest Best

 

@Fox8124981

there are several parameters that affect the access time. the harddisk type ssd is faster then 7200 hd and 5400 hd (I read somewhere that the speed of the ssd and its reliability drops after some time. the amount of ram is an important factor, the hosting os is a factor, the network speed, etc... if you use more than one pc the pros and cons adds up.
more ram and ssd hard disk is the beginer place to start but as I said there is a lot more to do

10% popularity Vote Up Vote Down


 

@Gretchen104

The short answer is yes and no :P

Access time will depend on the power of your server and the speed of your server's network connection. So having lots of images on an underpowered server will affect things, but on an an adequately powered server won't.

If you have information about the location of images in a database rather than a direct link you you will slow things down by as long as it takes to access the database (milliseconds?). For me, the benefits of managing files via a database compared to managing hundreds of thousands of direct links is overwhelming.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme