performance

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
markus_petrux's picture

Possible improvement with caches

Hi,

I would like to share some thoughts about caching in Drupal, and then see what you people think about it. Not sure if this is new though.

Sometimes, cached objects are created on demand (while a page request occurs) and use expiration times. For exemple, cache_filter table usage in check_markup. In these cases, the logic is more or less, like this:

if ($cached = cache_get($cache_id, 'cache_filter')) {
  return $cached->data;
}
// object is not cached, so here we do a lot of stuff to
// build the thing, then cache it with an expiration time
cache_set($cache_id, $text, 'cache_filter', time() + (60 * 60 * 24));

Well, the problem here is that if several page requests come at the same time, there will be several processes doing the same job and caching the same object, concurrently. For hi traffic sites this might be a problem.

Read more
arman's picture

CDN notes

Greetings,

We're preparing to rollout a CDN for our Drupal implementation and would like to get notes of other people's experiences.

We have about 1/2 million images that we primarily want to push out to a network.

There is a CDN module, http://drupal.org/project/cdn, that we've been looking at, however the author states:
"... it doesn't scale yet (yes, that's pretty ironic since the exact goal is better scalability ..."

Thanks,

Arman.

Read more
tjholowaychuk's picture

What would you like to see most in a Drupal-specific performance book?

Solutions for shared hosting
13% (4 votes)
"Frontend" performance
7% (2 votes)
System tuning
17% (5 votes)
Database tuning
13% (4 votes)
Developing modules for high performance
23% (7 votes)
Module implementations and reviews
3% (1 vote)
Availability / performance monitoring
3% (1 vote)
Spam prevention
0% (0 votes)
"Highend" architectures
20% (6 votes)
Total votes: 30
gordon's picture

CCK performance (or lack of)

Here at Lonely Planet we have been looking into CCK for our own projects so we can create easily supported sites which don't need developer input to do simple things like adding additional fields.

But during this time I discovered how bad the performance actually is. Like everyone I thought that adding fields that were not multiple or shared you would get the best performance.

Well I was wrong, and spent a while making sure that I was correct. And I was.

So during some other enhancements I needed to fix the CCK so that performance was much better.

Read more
Wim Leers's picture

Improving Drupal's page loading performance

This article I wrote should appeal to people interested in high performance Drupal sites. Most of the performance gains are achieved by doing things with the Javascript and Drupal's File API.

http://wimleers.com/article/improving-drupals-page-loading-performance

You can expect another article soon, about the same topic, but then putting it to practice. I'll use the CDN integration module (of which I'm also the maintainer) and the included core patches to do it in just a few simple steps.

Read more
drupalwatchdog's picture

Achieving Optimal MySQL Performance For Drupal

MySQL AB and KernelTrap.org's Jeremy Andrews are partnering up to offer an online presentation titled "Achieving Optimal MySQL Performance For Drupal". Aiming to provide a better understanding of how to properly monitor and tune your MySQL database, the online Webinar will take place on Thursday, January 31st, 2008, at 16:00 UTC (11:00 am EST). The presentation will last 45 minutes, followed by 15 minutes for questions and answers. You can sign up for the free event here.

Read more
greggles's picture

RFC: Best practices for managing indexes (particularly on cck tables)

As a site goes live and we do performance tweaking and benchmarking one of the common results is adding database indexes. I post this into the CCK group since one of the common sources of slow queries is for queries against the CCK tables. For example, a site that has a block that queries a field table to look for information about that field for every page load can quickly make its way into the slow query log. Adding an index to the field is likely to be the best solution.

Read more
ChrisBryant's picture

Popular, high profile, high traffic Drupal sites for BADCAMP and Drupal.org

I'm cross posting this from here in case anyone else has any information to share: http://drupal.org/node/187464

Hi Fellow Drupalers,
I'm working on a session for BADCAMP (http://badcamp07.org) where we will walk through some cool, popular and high performance Drupal sites. The main focus here is high-profile, big companies, high traffic. What is the biggest and highest traffic Drupal site out there?

Read more
kbahey's picture

Presentation: Drupal performance tuning and optimization

OpenCraft hosted a 3.5 hour seminar that I presented on Drupal performance tuning and optimization. You can find the slides from the presentation there, which can be useful to some of you.

Read more
kbahey's picture

Drupal memory consumption by core and modules

I create a 5.2 and 6.x patch for measuring how much memory a module takes, and also how much the whole Drupal page load takes.

The results are published here: Measuring memory consumption by Drupal bootstrap and modules.

Short version: in Drupal 6, modules are better off than in 5.2, but the bootstrap is a tad larger.

If anyone is interested in replicating the results with more realistic install profiles, please do so and publish your results/findings/recommendations.

Read more
Subscribe with RSS Syndicate content