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.

Anonymous's picture

Varnish with Apache or NginX & php-fpm

I "think" I managed to get php-fpm working reasonably well with my Centos apache server. Running memcached and apc with 2GB of RAM on a VPS.

I am now planning to tackle Varnish. My question is should I be running Nginx for the varnish "static" anon content and/or the entire Drupal 7 site?

Looking around the web, there appear to be many examples of deploying Varnish with Nginx, not so much with apache?

Read more
n34_panda's picture

Drupal 7 Site Performance and Advice

Hi,

I am involved in a Drupal 7 site, I am note a Drupal Developer but I am IT savvy.

Anyway the site was recently moved onto a dedicated server due to heavy usage at certain periods. The site is young but growing fast, circa 1k users and during the heavy periods at least 70 users logged in...maybe lots more - shared hosting was no longer a suitable option. As it was an emergency we were recommended a server and migrated to a dedicated server: Quad Core CPU, 32GB RAM, 300GB and Plesk (for alerts) - fastcgi is in use but I am not sure what else as I don't have access :( .

Read more
Elder Brother's picture

Pressflow / Varnish - Removed Google Analytics cookies still stopping response header 'age'?

Currently using Drupal 6 / Pressflow on Apache with Google Analytics installed. We have Varnish 2.1.5 running on port 80 in front of Apache.

In the attached Varnish VCL (based on Lullabot's example - http://www.lullabot.com/articles/varnish-multiple-web-servers-drupal), I have (probably redundant) regex filtering Google Analytics cookies, as well as a general 'remove all cookies except sessions' rule in sub vcl_recv.

Read more
brad.curnow's picture

Minimizing Bootstrapping.

Hi Everyone!

I've written a PHP page that sits inside my Drupal install and is used for split second traffic processing and directing. Pending certain conditions (carried as POST data in the url) the script progressively bootstraps Drupal.

For instance we first look to see if we can direct the user to a cached page. If not, we bootstrap to DATABASE and run a couple of simple queries to see if we need to direct them to somewhere else.

Read more
alexus's picture

Drupal 6 Site Offline Template

... every once in a while users are getting "Site Off-Line" message when trying to access Drupal6 (Pressflow), so I start looking into following document to modifiy template and possibly provide me with a reasoning on why Drupal keeps doing that..

Theming the Drupal maintenance page | Drupal.org

What should be included into new template page? I was thinking at least this one:

PHP: mysqli::$connect_error - Manual

but what else would be useful in order to troubleshoot site offline??

Read more
Jamie Holly's picture

PHPNG Being Tested In PHP 6

Just noticed this interesting post about Facebook's PHPNG being tested in the PHP6 branch. Of course it's really early, so there is no way of knowing if it will actually be included in a future release of PHP, but it is something to keep an eye on:

http://www.phpclasses.org/blog/post/234-PHPNG-Dramatic-Speedup-Features-...

Read more
ktrev's picture

High cpu usage in webserver

We have separate machines for database server and web server (each with 8GB RAM and 4 cores)
The user CPU% of web server is around 60-70% (when you run a jmeter test that login 100 users)
In database server its less than 5%.
We have Apache with php5-fpm.By top command we can see that each php-fpm process is taking more than 20% of CPU

Memcache and Apc are on web server itself.Why is the CPU usage this high ?

Read more
alexus's picture

varnish purge cache all the time

I'm constantly seeing following line in my syslog'

varnishd[2826]: CLI telnet 192.168.XX.XX:60069 172.16.XX.XX:6082 Rd purge req.http.host ~ XXX.XXX.XXX && req.url ~ "/"

and it doesn't seems like someone does it manually all the time either...

I'm able to confirmed that cache is actually is purging at every request and i'm on clean slate (in terms of cache) after purge is done.

how would one troubleshoot something like that?

Read more
ktrev's picture

Scaling a drupal site to handle 1000 authenticated reqests per second

      We are planning to make a Learning Management System with drupal.We have created a site which can run a single course at a time.

There are 84 modules installed in the site.

Our aim is to handle 1000 authenticated requests per second.
(This can be viewing the site or adding content to the site)

Our server details are as follows:
(this is a vm on one server)

Memory : 16GB
Processor: 8 core
OS: Ubuntu
Webserver : Ngnx
We have php-fpm with maria db as database server

We have installed APC and Memcache in the site.

Read more
satvision83's picture

Need advice for faster Drupal website

Hello everyone.
I have a website for ads.
This is the url: www.4sport.bg

It's hosted on Managed VPS with 4gb ram.

I'm not caching it with the standard procedure from here: admin/config/development/performance, because the website has registered users that will be able to create an ad, update their ads, view their profiles etc, it's very dynamic so I needed something better to cache.
The website is not fast as it should. It usually loads more than 1300ms.

I'm using PHP APC and you can see it from here: www.4sport.bg/apc.php

Read more
Subscribe with RSS Syndicate content