Hello, I am looking at storing a large number of files and i need to know a efficient way of doing so. I am not storing them in blobs in a database, but rather in a file system. They are image files, each user will have between 0 and 5 files.
I would like to know how i should do this. Should i create a seperate directory for each user and place files in there? Should i throw all the files in one dir? Should i break them up by regions of the alphabet (a-k, l-z, etc?)Is there a limit on the amount of dirs or objects in a dir in linux? Which way is best for performance? Any suggestions?