3

Previous/Next API: a high performance API module for previous/next node

http://2bits.com

Many sites need a way to browse content by "previous" and "next" links.

Read more »
Created by twobits 2 years 47 weeks ago
Category: Optimization   Tags:
3

Reducing server load by eliminating anonymous sessions for Drupal 6.x

http://2bits.com

In some large client sites, we see many queries from the session handling code in drupal, mostly from the sess_write() function in includs/session.inc.
Examples of creating a new session:

INSERT INTO sessions (sid, uid, cache, hostname, session, timestamp) VALUES ('744e888350d5c759f067d58380f6874e', 0, 0, '10.1.1.1', '', 1243567441)

And examples for updating a session:

read more

Read more »
Created by twobits 2 years 47 weeks ago
Category: Optimization   Tags:
3

Less is more: Keeping down the number of modules by extending existing ones

http://2bits.com

Too often when someone asks for a feature "Can Drupal do xyz"? The answer is "just install the whatever module". While this is the correct answer in 90% of the cases, there are other cases where an additional module is bad thing to have.

read more

Read more »
Created by twobits 2 years 47 weeks ago
Category: Optimization   Tags:
3

Benchmarking Zend Server Community Edition with Drupal

http://2bits.com

Zend have had their own proprietary PHP server product for quite some time now. This week, they announced their Zend Server Community Edition, with the intention to disrupt Java, and grow PHP specially in the current economic conditions.

read more

Read more »
Created by twobits 2 years 47 weeks ago
Category: Optimization   Tags:
3

Scalability of the Taxonomy Browser module: Restricting number of terms

http://2bits.com

A very large site that we manage for a client experienced two instances of outages recently.
The symptom was a long running query and many other queries locked as a result.
Upon digging deeper, we found out that this was caused by the taxonomy browser module. This is a useful module for drilling down into a site's category structure for nodes that match certain criteria.

read more

Read more »
Created by twobits 2 years 47 weeks ago
Category: Optimization   Tags:
3

XML Sitemap 6.x-2.x: How Drupal modules can overload a site during cron, with solutions

http://2bits.com

One of the most useful features in Drupal is its cron hook. It allows modules to execute stuff at regular intervals when cron.php is run.
This is used for many things, such as indexing new content that was added to the site, cleaning up old watchdog entries and many other things.
In many cases, though cron hooks implemented by modules can cause added burden to a site. This is specially true if you run cron too frequently or too infrequently.
An example for a client came up recently. They are using xmlsitemap, like many sites do.

Read more »
Created by twobits 2 years 47 weeks ago
Category: Optimization   Tags:
3

Case study: Views, Quicktabs and template.php

http://2bits.com

Performance troubleshooting and tuning of web sites is often, to paraphrase Winston Churchill, "a puzzle inside a riddle, wrapped in an enigma".
One of those puzzles is how sites are put together: in this case: multiple layers of modules that obscure the real cause of where the slowness of a site is, and a theme for the topping.
Problem and symptoms

read more

Read more »
Created by twobits 2 years 47 weeks ago
Category: Optimization   Tags:
3

Microsoft-WebDAV-MiniRedir + Drupal singlesignon = An aggressive crawler

http://2bits.com

When tuning sites for clients, we often see the usual symptoms and causes of why a site is slow, and occasionally we find an unusual reason.
For one client, after we diagnosed the main reason for a site being slow (bottleneck between database server and web server), they continued to experience slowdowns.
This was getting annoying as it happened several times a day, and their customers were complaining about the slowdown on a daily basis.

read more

Read more »
Created by twobits 2 years 47 weeks ago
Category: Optimization   Tags:
3

The 80/20 rule for Drupal web site optimization: little actions and big impacts

http://2bits.com

Most of us have heard about the 80/20 rule a.k.a. The Pareto Principle. Simply put: 80% of something have just 20% of the reasons. In other words if you address the 20% of the causes, 80% of the symptoms will go away because of that.

read more

Read more »
Created by twobits 2 years 47 weeks ago
Category: Optimization   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Recent comments