📜 ⬆️ ⬇️

Lay out images in directories or in one pile?

Faced with a dilemma, user-generated content - users of the site add ads with photos.

One programmer says that you need to arrange pictures in directories so that the web server gives them faster, another says that you don’t have to bathe, * nix-systems work quite calmly with a huge number of files in one directory.

Essentially, if we put everything in one place, then there will be more than 80 thousand images within 2 years.
Now there are 30 thousand, the weight of the directory is 1.7 GB.
')
Which programmer is right?

Source: https://habr.com/ru/post/60841/


All Articles