System file cache with nginx?

0 like 0 dislike
61 views
Is nginx+ssi, it is cache. In the cache millions of files at 10-15 KB.

The cache is placed on the ssd helps to avoid problems with parallel queries.


I wonder what the optimal FS for these tasks?

Because in my case, a lot of the overhead goes to the metadata.

Of course with noatime,nodiratime.


Tried to find the answer in the search engines, but on the surface it is not.


I use Linux debian stable.

FS ext2, I gave up on ext3, because I thought the extra logging.

Besides faster ext2 ext3 and ext4 I'm afraid.


There's still Btrfs, but I need the most primitive functionality.

Roughly key-value store on disk without an ACL at all. Btrfs is also afraid.


The issue of workload can be solved by adding frontend.

But, I suspect that FS can be highly optimized.
by | 61 views

4 Answers

0 like 0 dislike
Reiserfs had a lot of optimizations about the large pile of stuff, see reiser4
by
0 like 0 dislike
be sure to ext2 with dir_index(Use hashed b-trees to speed up lookups in large directories) or XFS(I think it will be more productive)
by
0 like 0 dislike
I think in memcache store a cache of nginx?
by
0 like 0 dislike
in your case the best FS is the most simple FS, so from the mentioned ext2 is the best choice ;)
by

Related questions

0 like 0 dislike
6 answers
0 like 0 dislike
4 answers
0 like 0 dislike
5 answers
0 like 0 dislike
6 answers
asked Mar 20, 2019 by ZxAnderson
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
28,731 users