Im wondering if anyone with linux knowledge knows if i had a directory with 9,999 sub directories if speed would still be good. Can it handle that many sub directories?
In my PHP script, when a user uploads an image, im creating a sub directory based off the first 4 numbers in his user id
so
/images/ is the parent directory
user id 1 would goto /1/1/
user id 99 would goto /99/99/
user id 99999 would goto /9999/99999/
b/c its only taking the first 4 numbers
So to continue my example, user id 140234 would goto /1402/140234/
Is this a good way of doing things? can linux handle this?
thanks