optimizations

Apache mod_cache and mod_file_cache

Here is another performance tip for your website. Take my blog for example. Examine all the static resources for it, that are possibly present for all of your webpage. In my case I could list them as below:

Analyzing io bottlenecks on linux for my drupal blog

So at this point my setup on the odroid u2 is humming along with memcached and php apc cache. The performance boost from this I described in this article here. At best I was getting 2 request/sec.

Disabling .htaccess lookups and merging to sites conf file for Drupal 7

So I managed to get my server to server almost 2 request/sec with my last incremental configuration tweaks using memcached described here. After memcached I had to analyze my server for bottle necks and io as expected was top of the list with mysql process at the top of io bottle-neck list. This finding I shared in this article here.

Performance Impact of Memcache on Drupal

So in my previous article here, I did a stress test with php's APC enabled and drupals 2 performance modules "adv_agg" and minify. This was test #4 in that article. In this article I will carry over that test and see what new numbers are with memcache now configured for my drupal blog. How to confgure memcached you can read about it in my previous article here.

1-2-3 guide to quickly set up Memcache for Drupal

So this is how you can setup memcache for drupal. This guide is for a single server where memcache and drupal are all co-located. So at drupal's end, execute the following commands :

drush dl memcache -y
drush dl entitycache -y --dev

 

Next the apt-get command can be used to install the following packages:

 

apt-get install memcached libmemcached10 libmemcachedutil2 libmemcached-tools php5-memcache

Next hop to your drupal "sites/default/settings.php"

My drupal Sites Web Server Optimization - Part 1

I guess I should start writing about what I am doing to optimize the performance of my web server. If I don't start now, I will have done so much that I would think it a bother to summarize it.

Before I go on and do more complicated optimizations, it makes sense to deal with the simple mundane issues.

Subscribe to RSS - optimizations