PDA

View Full Version : large amount of pics - speed?


Cyclist
27th of May 2004 (Thu), 03:32
will a large number of pics limit the speed of the EE? As far as I can see all pics od the same size are stored in the same folder, e.g. normal. But if there will be lots of pictures (currently I have about 2.000 pics to upload and there will come more and more with the time) in one singe folder doesn't limit this the speed of showing the pics?

photocroatia
27th of May 2004 (Thu), 06:15
No a large number of photos won't slow down EE, I have 2700 photos and performance is great!

My photos aren't stored in the same place as I create directories based on locations, but you storing them in the 1 place shouldn't make a difference.

Pekka
27th of May 2004 (Thu), 09:23
The amount of photos in one folder is restricted by operating system limits only and perhaps ftp server's folder limitations. Keeping less than thousandls in each folder is a good idea: it is easier to back up and view files on system if you split them to few hundred each.

EE does not really care how many photos there are and where they are located: it builds a page and then the browser fetches the actual photos with htttp. The database can hold currently 2147483647 photos. If you need more, the fix is quite easy to do :)

Speed is very much related to MySQL server speed - the single most timeconsuming function in EE is sorting the photos (done on every page) and this is handled solely by MySQL's own engine.

Cyclist
28th of May 2004 (Fri), 03:57
Is it possible to move existing pics in EE to a subfolder or do I need to delete them first and upload them once again? What about thumbs and microthumbs: is it best to store them in subfolders too?

Lots of questions...

wkitty42
2nd of June 2004 (Wed), 22:08
Is it possible to move existing pics in EE to a subfolder or do I need to delete them first and upload them once again? What about thumbs and microthumbs: is it best to store them in subfolders too?

Lots of questions...
you can create and move photos to another folder as needed... the main thing to make sure of is that the paths are updated as necessary... as for thumbs and microthumbs, yes... in most cases, folk create new folders per project and/or exhibit with thumbs and microthumbs dirs below them... it is very much like a filing cabinet with subfolders within for each project...

tommykjensen
2nd of June 2004 (Wed), 23:54
Is it possible to move existing pics in EE to a subfolder or do I need to delete them first and upload them once again? What about thumbs and microthumbs: is it best to store them in subfolders too?

Lots of questions...
you can create and move photos to another folder as needed... the main thing to make sure of is that the paths are updated as necessary... as for thumbs and microthumbs, yes... in most cases, folk create new folders per project and/or exhibit with thumbs and microthumbs dirs below them... it is very much like a filing cabinet with subfolders within for each project...

I have 2000+ photos and only one folder. So far that is not a problem.

wkitty42
3rd of June 2004 (Thu), 08:20
I have 2000+ photos and only one folder. So far that is not a problem.
as pekka stated, it is operating system dependent... some OS' can't handle more than 1024 files in a directory without seeing a slowdown in access... DOS, before win9x, had a 256 file "level"... win9x also has a "level" but it is much higher and also masked by the use of diskcaching... i can't explain it without going into great detail on the internals of those systems that i'm familiar with... i can only say that diskcaching, which most os' today use, helps to "cover" the situation and make it less noticible or even appear to be non-existant...

as for grouping files into folders, that's just good content management ;)

[aside: pekka, i hope to have you a donation in the next week or two... money is very tight as is the employment market :( ]