I have FTP that should handle about 1 million files if not more. file sizes are variable between 1MB to 100Mb but the have average of 30MB. We have about 1000 resources and hundreds of thousand site users which we keep their record. Therefore I thought that have this kind of file tree is good.
res1 -> user1 user2 . . user(m) . . . res1000-> user1 user2 . . user(n)
The other approach is to put all files in one directory. I want to know which approach is more effective in terms of speed.