Drupal

Deactivating Statistics, Counter and Leaflets Modules

Leaflet Module

So with Boost running, it made no sense really to have the Counter module, since it was always a snapshot view of the counter at some point in time when the page was first generated by boost. Similarly the leaflet module does not make sense. I have a feeling with Boost it is also not doing its job. Hence time to slim down my drupal install. This means I really also don't need the statistics module. Google analytics and Apache logs should be good enough for all purposes. Then the webalizer running already on the logs makes for good enough reports.

Performance Impact of Drupal's Boost module

So my website has been running on Boost for more than a month now. Things should seem quicker, or atleast the content from my site should feel faster and the facebook and google plus and all those widgets load a bit later on.

Some random performance configurations in Drupal

I accidently stumbled upon this document here "mikeytown2", a developer that just seems everywhere currently on the drupal modules page. And I found it really useful. Here are something that I took from it and implemented at first go.

Working with Images and File conveniently in Drupal

So for a long time I have been doing it the hard way writing on my blog. I have been creating a folder on my server for each article and manually uploading my images via ssh. Then copying the path to each image and adapting it to a relative url and publishing. A similar story was with file links. Recently decided to ease my life up a little bit. And really all that I did was really should be part of drupal core.

Configuring required Modules

Anyways following are modules that you require. Use the online below to download, install and enable them via drush.

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.

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"

Performance Impact of Alternative php cache and Drupal modules adv_agg and minify

APC graph

So I was about to configure my website with Boost. But before that I thought it might be a nice idea to do another round of stress tests and see the difference in results. With this round of tests, I finally got a chance to analyze the first set of test results that I posted here. The new stress test was done basically with the same Jmeter test plan that I previously posted here using the same set of pages that I stress tested before.

My Drupal Blog Web Server Optimization - Part 3

So it was time to do something about the sluggish feel of my blog without resorting to memcache modules and so on yet. Looking at the state of availiable options, following are the modules I decided to go for.

JavaScript callback handler

Adding Recent Visitor Locations Map to Drupal

So the next thing my blog needed was map showing the location of my visitors. There should be a module for that in drupal and sure enough I found a few of them. The only module that seems directly related to what I wanted was "Visitor Info" but that required registration at a provider. So the search continued. Next I found ip_geoloc, support for it looked great. It looked like it spoke with a lot of other modules. And most importantly the 4th thumbnail was exactly what I wanted.

Pages

Subscribe to RSS - Drupal