memory caching question

4 posts / 0 new
Last post
#1 Tue, 11/20/2012 - 20:00
hescominsoon

memory caching question

I have a client with a dedicated server that is getting very busy. it is beginning to strain disk i/o but ram is only 1/3 used. I would like to start caching as much as i can in ram to alleviate the pressure on the disks. Any pointers on how to do this under virtualmin gpl?

Tue, 11/20/2012 - 22:34
andreychek

Howdy,

Well, a lot of websites can be setup to cache their own pages as static HTML rather than PHP... that can make a huge performance impact.

You may also want to look into PHP caching, such as APC.

Memcache can also do caching -- it caches database queries and such, which can take a lot of load off of MySQL.

Those are a few of the simple things to start with... there's certainly a lot of options to explore in the realm of performance improvement.

-Eric

Wed, 11/21/2012 - 07:14
hescominsoon

what does virtualmin support..anything? I've had bad experiences going outside of webmin/virtualmin's structure so hence the question..:)

Wed, 11/21/2012 - 08:37
andreychek

Well, none of those are directly supported by Virtualmin... but they also don't interfere with it :-)

It should be no problem to use a caching option that's supported by your web app... or a PHP caching module... or memcache.

-Eric

Topic locked