R
R
rusrich2020-04-06 01:02:57
Nginx
rusrich, 2020-04-06 01:02:57

How can I cache files on the server besides nginx?

Good afternoon.

Tell me how you can cache files on the server side in addition to nginx.
At the moment it is configured just through nginx. It caches files on raid 0 from two 1TB ssds.

The problem is the rapid wear of solid state drives. The disk resource is enough for literally 5 months due to the constant grinding of files.

I would like to set up a multi-level cache.
The most popular cache is added to the RAM, just the popular one is added to the raid from ssd, the less popular was read from the HDD storage.

There is a software from Intel Cache Acceleration, but the reviews about it seem to be not very good and there is an abandoned repository on the git for it.
In addition, it does not seem to work under CentOS 8.

What other systems exist.

OS Linux Centos 8

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Dmitriev, 2020-04-06
@SignFinder

Memcached + php-memcache\php-memcached

P
paran0id, 2020-04-08
@paran0id

varnish

P
P747, 2020-04-06
@P747

What kind of cache are you using? You can simply, as an option, make a separate disk for the cache and not overwrite it every time you update, but simply add a new one, and at the end, when the space is full, delete it. That is, minus one action is removed from the load on the disk. In theory, this should almost double the service life.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question