H
H
Hosting Yaroslavl2019-05-01 12:08:11
CMS
Hosting Yaroslavl, 2019-05-01 12:08:11

Debian/VPS: how to put a CMS (like Joomla/Wordpress) into RAM?

How to put the site in RAM (without pictures)?
There is 5 GB of RAM, 3 GB is used on average.
Sites about 50-100mb (without pictures).
I would like to put the top 10 in terms of views into the RAM, if possible, in order to increase performance.
That. should remain about 1G for tick loads free.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir, 2019-05-02
@yarhosting

use tmpfs - make an entry in /etc/fstab where to mount the memory partition and you will have just a folder that is actually in memory. - an example for 4000 megabytes
tmpfs /mnt/ramdisk tmpfs rw,relatime,size=4000M
Important - you will need to take care of synchronizing what is in memory to a regular disk.

A
Ainur Valiev, 2019-05-01
@vaajnur

ramdisk

E
E, 2019-05-01
@aylo

read towards redis\memcached

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question