If a folder contains 50 thousand images, is the speed of opening significantly affected? I was trying to store images by category, but couldn't I solve this problem? would it have a big impact on the display speed if I concentrated so many images in a folder? ------ Solution ------------------ if an image is displayed on a webpage by calling a program, the key factor affecting the display speed is that the disk I/O recommended category is better. I am used to automatically create folders by month/year, generally, the number of images under each folder should not exceed one folder. if there are 50 thousand images in the folder, will the speed of opening be greatly affected?
I was trying to store images by category, but couldn't I solve this problem? would it have a big impact on the display speed if I concentrated so many images in a folder?
------ Solution --------------------
If an image is displayed on a webpage by calling a program, the key factor affecting the display speed is the disk I/O.
Better classification
I am used to automatically create folders by year and month. Generally, the number of images under each folder should not exceed 1 k.
------ Solution --------------------
If the size of each image is large, the io overhead will increase first. to display the image on a webpage, it will be slow to display the image too large, it may not even be loaded! We suggest you store them by category! If your website is used, you can use a separate server to store images that will be added later!
------ Solution --------------------
50 thousand influential sheets
------ Solution --------------------
If you use a program to open a file with the specified name or access the specified file through apache, it should be fine.
If you use file management tools such as WinSCP to browse this folder, it will die.
In short, direct access to files is not a problem, and the list of files involved is terrible.
------ Solution --------------------
200 sheets and 500 sheets will be able to feel the difference, not to mention 50 thousand sheets
------ Solution --------------------
5 million sheets?
Copy 5000 copies of a 10 K graph to open the test.
------ Solution --------------------
What do you mean by opening it? Browsing is slow. It is recommended to split folders. If the web reading shows that the access is not very frequent, you can. Go to the server if you have money
------ Solution --------------------
Slow to feel like it is about to crash