I hope a simple question is apologies if it has already been answered, but nothing happened in the search.
On S3, is it better to organize images into smaller subdirectories or just keep them all in one directory? In a typical file system, you could use the image space in directories to improve performance. A flat structure with thousands of images in the same directory usually doesn't work fine. Does this apply to Amazon S3?
I can put all user images in the user folder, all mail images in the message folder, etc. OR I can put user images in folders such as users / {userId} so as not to have thousands of images in one user folder.
source share