2bits

Primary tabs

Articles from 2bits

We previously wrote in detail about how botnets hammering a web site can cause outages.
Here is another case that emerged in the past month or so.

A client recently asked us for help with a very specific issue. The node edit page was hanging up, but only in Internet Explorer 10, and not in Firefox or Chrome. The client had WYSIWYG editor enabled.

Using a Reverse Proxy and/or a Content Delivery Network (CDN) has become common practice for Drupal and other Content Management Systems.

We have mentioned before that both Pressflow 6.x and Drupal 7.x (but not core Drupal 6.x), disable page caching when a session is created for an anonymous user.
An extreme case of this happened recently, because of a perfect storm.

One of the suboptimal techniques that developers often use, is a query that retrieves the entire content of a table, without any conditions or filters.
For example:

SELECT * FROM table_name ORDER BY column_name;

The bulk of Drupal hosting for clients that we deal with is on virtual servers, whether they are marketed as "cloud" or not.

Ubuntu Server 12.04 LTS finally provides a stable long term support server distro that has a recent version of Varnish in its repositories.

Today, Khalid gave a presentation on Drupal Performance and Scalability for members of the London (Ontario) Drupal Users Group.
The slides from the presentation are attached below.

For sites that have lots of slow queries, disk access is often the bottleneck. For these slow queries, MySQL writes temporary tables to disk, populates them with intermediate results, then query them again for the final result.

Pages