Answer the question
In order to leave comments, you need to log in
File system for nginx cache?
There is nginx + ssi, there is a cache. There are millions of 10-15 kb files in the cache.
The cache is located on the ssd - helps to avoid the problem with parallel requests.
I wonder: what is the most optimal FS for these tasks?
Indeed, in my case, a lot of overhead costs are spent on metadata.
Of course with noatime, nodiratime.
Tried to find the answer in search engines, but there is none on the surface.
I am using linux debian stable.
FS ext2, I abandoned ext3, because. considered logging unnecessary.
Besides, ext2 is faster than ext3, and I'm afraid of ext4.
There is also Btrfs, but I need the most primitive functionality.
Roughly speaking, key-value storage on disk is possible without ACL at all. Btrfs too I am afraid.
The load problem can be solved by adding a frontend.
But, I suspect that the FS can be greatly optimized.
Answer the question
In order to leave comments, you need to log in
reiserfs had a lot of optimizations over a big pile of little things, check out reiser4
ext2 necessarily with dir_index(Use hashed b-trees to speed up lookups in large directories) or XFS(I think it will be more productive)
in your case, the best FS is the simplest FS, so out of the mentioned ext2 is the best choice ;)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question