1

Podcast: Khalid Baheyeldin on Drupal Performance

http://2bits.com

Khalid of 2bits.com, Inc, was interviewed by Modules Unraveled, on Drupal Performance.

Read more »
Created by twobits 3 days 21 hours ago – Made popular 3 days 21 hours ago
Category: Optimization   Tags:
1

Do not configure the Service Links module with TinyURL.com

http://2bits.com

We recently conducted a performance assessment for a client, and the main problem was something really simple, but also very detrimental to the site.
The site used the Service Links module, version 6.x-2.x.
The following are the performance figures for the site, in seconds, before any tuning.

3.67 http://example.com/product/215
2.64 http://example.com/product/572
68.32 http://example.com/list1
65.11 http://example.com/list2

read more

Read more »
Created by twobits 14 weeks 13 hours ago – Made popular 14 weeks 13 hours ago
Category: Optimization   Tags:
1

How Google and Bing crawlers were confused by quicktabs

http://2bits.com

Quick Tabs is a widely used Drupal module. Site builders like it because it improves usability in some cases by reducing clutter.
Incidentally, the way this module works has cause us to run across performance issues caused by certain uses. See previous article about Quick Tabs can sure use more caching and a case study involving Quick Tabs.

read more

Read more »
Created by twobits 14 weeks 13 hours ago – Made popular 14 weeks 13 hours ago
Category: Optimization   Tags:
1

Remember that the CAPTCHA module disables page caching

http://2bits.com

By design, the Drupal CAPTCHA module disables page caching for pages it is enabled on.
So if you enable CAPTCHA for user login and/or registration forms, those pages will not be cached. This is often acceptable.
However, if you enable CAPTCHA for comments, and have the comment form visible at the bottom of each node, then a big portion of your site's pages will not be cached in the page cache at all.

read more

Read more »
Created by twobits 14 weeks 13 hours ago – Made popular 14 weeks 13 hours ago
Category: Optimization   Tags:
1

Identifying aggressive crawlers using Go Access

http://2bits.com

Aggressive crawlers that hit your web site a lot can cause performance problems.
There are many ways to identify aggressive crawlers, including writing custom scripts that analyze your web server logs.
One tool that we found to be useful in analyzing which crawlers hit the site the most today or yesterday is Go Access.
Getting Go Access
Go Access is available for Ubuntu Natty Narwahl (11.04) only, but not earlier LTS releases.

read more

Read more »
Created by twobits 14 weeks 13 hours ago – Made popular 14 weeks 13 hours ago
Category: Optimization   Tags:
1

Drupal on a dedicated servers vs. Amazon AWS/EC2

http://2bits.com

With the "Cloud" being in vogue currently, we see a lot of clients asking for cloud solutions, mostly Amazon AWS. Sadly, this is normally done without really doing a proper evaluation into whether the cost is reasonable, or the technology is suitable for their specific needs.
Amazon AWS provides some unique and compelling features.

Read more »
Created by twobits 1 year 26 weeks ago – Made popular 1 year 26 weeks ago
Category: Optimization   Tags:
1

Indonesia furniture handicraft wholesale marketplace

http://www.fauzirohimi.com

Indonesia Furniture Handicraft Wholesale Marketplace describe about Indonesian Furniture, Indonesian Handicraft and also business prospect in Indonesia especially as wholesale market place in the global world trading business to business (b2b)

Read more »
Created by romanzick 1 year 35 weeks ago – Made popular 1 year 35 weeks ago
Category:   Tags:
1

Strategies for dealing with resource wasting crawlers

http://2bits.com

In a previous article, we showed how a combination of Microsoft's WebDAV MiniReDir and Drupal Single SignOn result in an unintentional aggressive crawler that has the same effect as a Denial of Service attack (DoS).
And in our session yesterday at DrupalCon we touched on that topic again.
So, in this article we expand on this topic and provide more details.

read more

Read more »
Created by twobits 1 year 42 weeks ago – Made popular 1 year 42 weeks ago
Category: Optimization   Tags:
1

Presentation: 2.8 Million page views per day, 70 million per month, one server!

http://2bits.com

The session that I proposed for DrupalCon San Francisco 2010 on 2.4 million page views per day, 60 million pages per month, one server was accepted, and I just finished giving it.
Note that from the time we proposed the talk, until we actually delivered it, the site hit new records (2.8 million page views per day, 70 million page views per month).
Here are the slides from the session, which I designed to be useful on their own, even for those who did not attend.

Read more »
Created by twobits 1 year 42 weeks ago – Made popular 1 year 42 weeks ago
Category: Optimization   Tags:
1

Examples for Drupal custom caching: Adding a cache timestamp to cached pages

http://2bits.com

One of the nice things about Drupal is its pluggable caching system.

Read more »
Created by twobits 1 year 43 weeks ago – Made popular 1 year 43 weeks ago
Category: Optimization   Tags:
1

Very long URL aliases not correctly cached in memcache

http://2bits.com

For high traffic Drupal sites, using the memcache module is a common method for making sites scale. The memcache module uses the memcached object caching daemon for doing the actual caching.
In this article, we document how we ran into a limitation of memcached, and how we overcame it by a simple patch.

read more

Read more »
Created by twobits 1 year 45 weeks ago – Made popular 1 year 45 weeks ago
Category: Optimization   Tags:
1

Quicktabs can sure use more caching

http://2bits.com

For Drupal, Quicktabs is a useful module that provides helpful user navigation aids for a site. Used properly, it can be of great assistance to users navigating your site.

read more

Read more »
Created by twobits 2 years 5 days ago – Made popular 2 years 5 days ago
Category: Optimization   Tags:
1

Presentation: Free Software and Open Source Symposium (FSOSS): Open Source for Fun and Profit

http://2bits.com

These are the slides from a talk done at the Free Software and Open Source Symposium (FSOSS) at Seneca College in Toronto. The attendance was overwhelming with several people standing at the back of the room.
The talk is titled: Open Source for Fun and Profit: making a career out of FOSS, and draws heavily from Khalid's experiences in the Drupal community.

read more

Read more »
Created by twobits 2 years 12 weeks ago – Made popular 2 years 12 weeks ago
Category: Optimization   Tags:
1

Presentation: Linux toolbox for monitoring and performance

http://2bits.com

This is a presentation done on November 2nd, 2009 for the Kitchener Waterloo Linux Users Group on Linux toolbox for monitoring and performance.
Many tools are discussed, including: top, htop, atop, vmstat, netstat, ntop, vnstat, iostat, strace, systemtap, oprofile, apachetop, MySQL processlist, Munin, Awstats, and Google Analytics.

Read more »
Created by twobits 2 years 12 weeks ago – Made popular 2 years 12 weeks ago
Category: Optimization   Tags:
1

Presentation: Ontario Linux Fest 2009: The LAMP Stack: Linux Apache MySQL PHP, Python, Perl

http://2bits.com

Attached are the slides from the presentation done at Ontario Linux Fest 2009 on October 24th, 2009. It is an Introduction to the LAMP stack.

Read more »
Created by twobits 2 years 12 weeks ago – Made popular 2 years 12 weeks ago
Category: Optimization   Tags:
1

Simple previous / next navigation by node title

http://2bits.com

We have posted before on how to display previous/next thumbnails for image nodes. We also have a module that is basically a Previous/Next API for high volume / high performance sites.
But sometimes you need a simpler solution for regular nodes, just using the node title and a link to it. This article explains how to achieve that for Drupal 6 in one simple function and a few changes to one .tpl.php file.
First, we start off with the code that does the heavy lifting.
In your theme's template.php add the first function from the attached file.

Read more »
Created by twobits 2 years 18 weeks ago – Made popular 2 years 18 weeks ago
Category: Optimization   Tags:
1

Presentation: The Apache Web Server at the KW Linux Users Group

http://2bits.com

On Monday Sept 14th, Khalid presented on the Apache Web Server at the Kitchener Waterloo Linux Users Group (KWLUG).
The presentation starts with an overview of the HTTP protocol, then shows off Apache's market share and popularity, as well as use within the top 20 web sites worldwide. Then it delves into the details of installation and configuration, ending with performance and security.
The slides from the presentation are attached.

Read more »
Created by twobits 2 years 21 weeks ago – Made popular 2 years 21 weeks ago
Category: Optimization   Tags:
1

Performance issues with memcache module 6.x-1.13

http://2bits.com

A very large site we manage for a client was upgraded recently from the memcache module version 1.12 to version 1.13.
However, the result was less performance for this server that was humming alone happily with the older version.
The Munin graphs tell it all: look at the change at 12:00 noon.
Here is the CPU graph, showing double the CPU utilization on this sever.

read more

Read more »
Created by twobits 2 years 28 weeks ago – Made popular 2 years 28 weeks ago
Category: Optimization   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Recent comments