High Performance

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.

christefano's picture

Drupal.org migrates to Fastly's real-time CDN; Hear all about it this Thursday at the Drupal 8 Release Party: Los Angeles

Just in time for the expected increase in traffic to coincide with the release of Drupal 8, all the content and files on Drupal.org have been migrated to Fastly!

Joshua Mitchell (joshuami), CTO of the Drupal Association, just posted this great writeup a few days ago:

We are so stoked to announce our partnership with Fastly. Fastly is now serving up all of our traffic from the *.drupal.org domain Drupal sites and related services.

Fastly will be at the Drupal 8 Release Party: Los Angeles this Thursday to demonstrate their real-time CDN, how to integrate it with Drupal (both Drupal 7 & Drupal 8 are supported), and to answer any of your questions.

Their presentation will be streamed via Zoom. Please be sure to have Zoom installed and stay tuned to @GLADrupal on Twitter for the video conferencing information.

Read more
mikeytown2's picture

Slow D7 functions during a cc all

Decided to see what's causing a slow cache clear on our D7 site. Below are the functions that should be looked at to see if they can be optimized.

field_views_data 172ms
_theme_build_registry 1242ms
imageapi_optimize_init 36ms (contains eval!)
token_info 506ms

Read more
thomas4019's picture

Alternative Drupal Implementation in Node.js or other languages?

Has anyone thought about or done any work on doing an implementation of Drupal in a different language? I'm thinking of something that can use the same MySQL database and probably has the same front-end ui. I have really liked Drupal and I feel its data model with fields and such is great, but I think PHP is really holding it back and making it unnecessarily slow and complicated.

Read more
mikeytown2's picture

Use Grunt and AdvAgg to inline critical CSS on a Drupal 7 theme


TLDR: How to take the browsers start render time to sub second levels on a mobile connection; 3.5s -> 0.9s

charginghawk's picture

Drupal Performance Resources

I've started collecting resources on Drupal performance in a "Big / Badass List"-style Github repo:


Mainly it addresses the lack of a performance factoid on the #drupal IRC channel. If anybody has any suggestions for good articles or blogs on Drupal performance, please let me know, or even make a pull request!

Also, I'd love to filter the Drupal Planet feed to posts on the topic of performance - if anybody has ideas on how to do this, please let me know.

DamienMcKenna's picture

Seeking reviews for an improvement to Memcache's time-based expiration/invalidation logic

Hello there.

While working on a large site a coworker discovered that there was a problem with the Memcache module's cache clearing and time-based expiration & invalidation.

My coworker devised a very simple scenario that tested what the Memcache module was doing:



  • Store some data in the cache via cache_set($data, $cid).
  • Verify what data is contained in the cache using cache_get($cid).
  • Clear the entire cache bin via cache_clear_all('*', $bin, TRUE).
  • Read more
    phparchitect's picture

    php[world] 2015

    2015-11-16 08:00 - 2015-11-20 13:00 America/New_York
    Event type: 
    Related event (ie. not Drupal specific)

    From everyone at php[architect], we welcome you to this year’s php[world] conference. We strive to create an amazing experience for the greater PHP community that brings together developers from Drupal, WordPress, Joomla!, Magento, Zend Framework, Symfony, Laravel, CakePHP and more.

    We invite you to explore the website to learn more about the conference, and if you have any questions for us, please don’t hestitate to contact us for more information.

    phparchitect's picture

    PHP Foundations for Drupal 8

    2015-07-14 13:00 - 2015-07-16 13:00 America/New_York
    Event type: 
    Training (free or commercial)

    With Drupal 8, the Drupal community is embracing improvements and best practices from the wider PHP ecosystem. If you work with Drupal, you’ll want to be prepared! PHP Foundations for Drupal 8 will guide you through modern practices for programming with PHP, focusing on what you’ll need to work with Drupal 8.

    As a prerequisite for this course, you should have either taken our Jump Start PHP or PHP Essentials courses, or have an equivalent amount of PHP knowledge.

    Topics covered in this class will include:

    Advanced Object-Oriented Programming
    Using Composer and YAML
    Web Security

    Read more
    firoz2456's picture

    How to fetch Views total number of records in page.tpl.php before views.tpl called.

    See this image http://prntscr.com/7idx70 for more understanding.

    I want to fetch Views total number of records in page.tpl.php before views.tpl called. Is it possible to fetch that row total before views rendered? I am also using contextual filter for this view. Views have page type display.

    I have also used module https://www.drupal.org/project/views_record_count. but this will print total number of records on Views header or footer. (Not outside of views)

    hellohamish's picture

    Drupal for large volume sites


    I'm writing a report for a local government client about the suitability of migrating their internal and external sites to Drupal.

    They have a very document heavy site with a large number of documents (up to 500,000). The documents are static and won't change so there's no requirement for Document Management functionality. They will require metadata and security as well as the ability to search by metadata.

    Read more
    Subscribe with RSS Syndicate content