Nginx -> strategy?

Hello,

I would like to know how nginx could deal with this situation the most
comfortable way to serve static files :

  1. Is tree traversing fast on xfs/ext4 filesystems ? aaa/bbb/ccc number
    of
    files inside the last subfolder is approx 2000.
  2. Will nginx prefer another strategy ?

It is a bit a out-of-any-other-factors-involved question.

Many thanks !

Larry

Posted at Nginx Forum:

hi,

i faced a similar question for a client with a lot of files and found
out,
after a lot of testing
and benchmarking, it nearly doesnt matter if we serve those files from a
ram-tmpfs or
use the systems os-cache (given, we have plenty of it). so the os
(linux)
seems to do a good job.
the servers were designed to serve static files only.

YMMV

regards,

mex

Posted at Nginx Forum: