High Performance

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

This group is dedicated to solutions and approaches for high traffic, high performing Drupal sites. As such, it will deal with a lot of information around the rest of a typical Drupal "stack" -- the operating system, web server, database, and PHP tweaks that combine to support the Drupal application.

This is not a support channel or a place to post bug reports.

If you think you have found a bug, use the issue queue for the appropriate project.

If you need support, see http://drupal.org/support for options.

klaharris's picture

About caching for anonymous users

I've done quite a bit of research on Drupal performance, caching, have got memcache, APC, pressflow and so on all set up but have a problem.

I have written a custom module that works similar (I would imagine) to how the flag module would (I imagine) work for logged out users, i.e. store flagging actions to the session then sync those to the user account on login or registration. Now imagine being able to see how many items you had flagged somewhere in the header, these counts are pulled from the session. For logged in users, the counts are pulled from the DB / memcache.

Read more
cola's picture

News site with Drupal

we create a news site with drupal 6 (20'000 visitors at day).
we use a loadbalancer with 5 apache server and a own db server (all virtual).
for the cronjob (also memcache and solr) we use a own server.

Read more
theatereleven's picture

Using Project Mercury - do not see Cache Router config in settings.php

I'm getting ready to launch a site based on Pantheon's Project Mercury, but I'm not seeing evidence that the site is using things like APC correctly.

Reading other places online, it seems that when using Memcache you have to tell Drupal to use it in settings.php with something like:

$conf['cache_inc'] = './sites/all/modules/contrib/cacherouter/cacherouter.inc';
$conf['cacherouter'] = array(
'default' => array(
'engine' => 'db',
'servers' => array(),
'shared' => TRUE,
'prefix' => '',
'path' => 'sites/default/files/filecache',

Read more

Defining the Drupal 8 performance gate

(From webchick:)

Hi there, performance team! :)

Back at DrupalCon Chicago, Dries outlined a strategy for Drupal 8 involving a series of "gates" that would help ensure core code quality in a number of different categories: Documentation, Performance, Accessibility, Usability, and Testing. The purpose of gates is to define essentially a set of "checkboxes" which outline the most important aspects to each category, and does so in a way that is both not overwhelming to core developers (list of hoops to jump through is kept as small as possible) and also creates very little additional burden on the team in question (contains sample links to documentation/resources so developers/reviewers can help themselves).

Since we have already traditionally had requirements around documentation, it made sense to start there. Jennifer Hodgdon and some other folks from the documentation team have put together the Documentation gate, which is available at http://drupal.org/node/1203498. What we need is a similar table for each of the other gate areas. And that's where you come in! :D

Read more
ron_s's picture

APC regularly restarts after 10-20 minutes

<

p>I have a site running Pressflow (Drupal 6), Varnish, Memcached, and APC with the Cache Router module. I'm unsure why but APC is restarting every 10-20 minutes. If I review the stats page (see the attached image) the uptime will increase to somewhere between 10 and 20 minutes. As I click the "refresh data" button I'll see a second cache set shown with an uptime of 0 or 1 minute, and each click of refresh data will toggle between uptime of 15 minutes and uptime of 1 minute. Eventually the 15 minute uptime disappears and I only see the 1 minute uptime...

Read more
Lloyd's picture

APC Fragmentation Issue

I've been trying to tweak APC. Right now I'm dealing with some fragmentation issues. They creep up over time to above 10-15%. Then APC restarts (not sure why). I've attached a copy of the apc.php results if anybody has any suggestions.

Thanks

Read more
omega8cc's picture

The power behind Speed Booster, Cache, Boost and AdvAgg

Our high performance Barracuda Octopus Aegir LEMP stack (BOA) has already a few levels and kinds of caching enabled or available, so it is important to understand how all those performance related modules and systems work to leverage all its power and avoid possible side effects or confusion.

Read more
chinabruce's picture

Have any idea to optimize the profile field query in D6?

Such as

SELECT f.name, f.type, v.value FROM profile_fields f INNER JOIN profile_values v ON f.fid = v.fid WHERE uid = xxxx;

lots of this query in my slow_query_log which the execute time > 2s.

Read more
_-.'s picture

_

djudd's picture

Two servers, one apache one MySQL

I am trying to add a second server to just run MySQL to our site. The first server would continue to run Apache.

I point the settings.php file to the new server, and everything is fine for a short time, then tables start locking, connecting fill up with Sleep processes, and the MySQL crashes.

Anyone have any ideas as to why this would be happening?

Read more
Subscribe with RSS Syndicate content