1
1
I have read in the past that is it good practice/performance to limit the amount of files you put in each folder, in this case it is user uploaded photos,
My site has around 1,000,000 user photos so far and growing daily so I structure the folders that photos are saved in to something like 9/8/5 so it puts X amount of photos per folder then starts putting into a new folder.
I know it is not a huge performance issue but I believe too many files does hurt seeking time
I am wanting to know what is a good amount of files to limit a folder to?
That greatly depends on the file system. – Joey – 2009-08-06T14:23:04.813
2What filesystem? What operating system? – Rob – 2009-08-06T14:23:05.533
It would be on a LAMP setup – JasonDavis – 2009-08-06T14:27:28.583
Depends on the filesystem. On an MS-DOS system with FAT fileystem I ran into performance problems at around 500-1000 files per directory. – None – 2009-08-06T14:33:19.527