SlideShare a Scribd company logo
1 of 22
Download to read offline
DrupalCamps 2012

           Drupal
it all comes down to performance


        Janis Janovskis
         @PASSIVUS
 http://passivemanagement.net
Drupal
it all comes down to performance




            ?
Drupal
it all comes down to performance


           WHY?
          WHERE?
           HOW?

               :)
Drupal
          it all comes down to performance
    Database level – wt … is cache?
✔   cache_block
✔   cache_bootstrap
✔   cache_field
✔   cache_form
✔   cache_.....
Drupal
          it all comes down to performance
            Database → cache_your_???();
✔   cache_set
✔   cache_get
✔   ctools_include('object-cache');
✔   ctools_object_cache_set('my_module', $id,
    $object);
✔   ctools_include('object-cache');
✔   ctools_object_cache_clear('my_module', $id);
Drupal
             it all comes down to performance
                  Database → caching();
✔   Query caching – query_cache_type=1
✔   table caching – memcache
✔   noSQL
    ➔   MongoDB
    ➔   CouchDB
    ➔   Reddis
    ➔   ….
Drupal
          it all comes down to performance
                         PHP
✔   APC
✔   XCACHE
✔   Remove redundant modules(code)
✔   Profiling (Xhprof)
Drupal
          it all comes down to performance
    PHP - Modules
✔   entity_cache
✔   boost (best on shared environments)
✔   block_cache_alter
✔   memcache api integration
✔   apc integration
✔   elysia cron (better cron job management)
✔   ajax blocks
Drupal
          it all comes down to performance
                Filesystem - backend
✔   File size limitations (file field configuration
✔   aggregate css
✔   aggregate js
✔   remove redundant css/js
✔   cdn
Drupal
          it all comes down to performance
                 Files –> front end();
✔   Build in css/js architecture (“clearfix”)
✔   Built in js framework (jQuery, + jQuery UI(D7
✔   Image preloads
              ADMIN             CONTENT



                       MODULE


              THEME             THEME
Drupal
         it all comes down to performance
    Performance → Web servers();
✔   Load balancing
✔   Apache mod_proxy
✔   Ningx vs Apache
✔   Varnish proxy caching
Drupal
        it all comes down to performance
          TESTING YOUR BUILT

✔   DrupalWebTestCase
✔   devel module → query information
✔   views statistics
✔   performance tests(jmeter)
Drupal
          it all comes down to performance
                       www.bounty.com
✔   ~1.5 milj. users
✔   Affiliate marketing solutions
✔   Embed community
✔   “Crapped” (not fresh) backend
✔   Almost no documentation
✔   Offline db integration
Drupal
      it all comes down to performance
Architecture

               APACHE1             MEMCACHE1


  LOAD
BALANCER                 FILE SERVER           MYSQL
                                               MYSQL
                                               MYSQL
                                               MYSQL

               APACHE2            MEMCACHE1
Drupal
          it all comes down to performance
    Bounty → Improvements();
✔   No panels
✔   Block instances
✔   By, by boot :)
✔   Education – tutoring
✔   Micro-sites
✔   Code improvements(Documentation)
✔   Removing redundancies (profile module)
Drupal
           it all comes down to performance
                  www.savethechildren.org.uk
✔   25 editors
✔   UI friendly configuration
    ➔   Panels
    ➔   Context
    ➔   Views
    ➔   Pages
Drupal
           it all comes down to performance
    Architecture

           varnish1   apache1       memcache1


                                                MYSQL
  LOAD                      files
BALANCER                                        MYSQL
                                                MYSQL


           varnish1   apache2       memcache2
Drupal
          it all comes down to performance
    Save the Children → improvements();
✔   Memcache
✔   Profiling with xhprof, devel
✔   Contributing to community
✔   Education
✔   … I am still on this role …..
Drupal
          it all comes down to performance
    Improvements → personal();
✔   Analysing
✔   Contributing
✔   Training
✔   Sharing
Drupal
   it all comes down to performance


             Thanks
     http://passivemanagement.net
janis.janovskis@passivemanagement.net
            @PASSIVUS

More Related Content

Similar to Drupal - it all comes down to performance

Drupal Meetup Lisbon
Drupal Meetup LisbonDrupal Meetup Lisbon
Drupal Meetup LisbonPaulo Gomes
 
Embracing the modern web using Drupal as Headless CMS with GatsbyJS NYC
Embracing the modern web using Drupal as Headless CMS with GatsbyJS NYCEmbracing the modern web using Drupal as Headless CMS with GatsbyJS NYC
Embracing the modern web using Drupal as Headless CMS with GatsbyJS NYCJesus Manuel Olivas
 
Building and Maintaining a Distribution in Drupal 7 with Features
Building and Maintaining a  Distribution in Drupal 7 with FeaturesBuilding and Maintaining a  Distribution in Drupal 7 with Features
Building and Maintaining a Distribution in Drupal 7 with FeaturesNuvole
 
Improving your Drupal 8 development workflow DrupalCampLA
Improving your Drupal 8 development workflow DrupalCampLAImproving your Drupal 8 development workflow DrupalCampLA
Improving your Drupal 8 development workflow DrupalCampLAJesus Manuel Olivas
 
BADCamp 2012 -Beginner Best Practices
BADCamp 2012 -Beginner Best PracticesBADCamp 2012 -Beginner Best Practices
BADCamp 2012 -Beginner Best Practicesmeghsweet
 
Tutorial MySQL com Java
Tutorial MySQL com JavaTutorial MySQL com Java
Tutorial MySQL com JavaMySQL Brasil
 
Using JavaScript in Drupal
Using JavaScript in DrupalUsing JavaScript in Drupal
Using JavaScript in Drupalkatbailey
 
Divio - Django in the "cloud" 
Divio - Django in the "cloud" Divio - Django in the "cloud" 
Divio - Django in the "cloud" Mathieu Meylan
 
Speeding up your Drupal site
Speeding up your Drupal siteSpeeding up your Drupal site
Speeding up your Drupal siteRonan Berder
 
Dbdeployer, the universal installer
Dbdeployer, the universal installerDbdeployer, the universal installer
Dbdeployer, the universal installerGiuseppe Maxia
 
Best Practices for Moving to Drupal 9
Best Practices for Moving to Drupal 9Best Practices for Moving to Drupal 9
Best Practices for Moving to Drupal 9Mediacurrent
 
How to keep Drupal relevant in the Git-based and API-driven CMS era - BADCamp
How to keep Drupal relevant in the Git-based and API-driven CMS era - BADCampHow to keep Drupal relevant in the Git-based and API-driven CMS era - BADCamp
How to keep Drupal relevant in the Git-based and API-driven CMS era - BADCampJesus Manuel Olivas
 
Drupal 6 Performance Tips
Drupal 6 Performance TipsDrupal 6 Performance Tips
Drupal 6 Performance TipsTrevor James
 
Drupal performance and scalability
Drupal performance and scalabilityDrupal performance and scalability
Drupal performance and scalabilityTwinbit
 
We need revisions and CRAP everywhere in Drupal core
We need revisions and CRAP everywhere in Drupal coreWe need revisions and CRAP everywhere in Drupal core
We need revisions and CRAP everywhere in Drupal coreDick Olsson
 
Depolying Drupal with Git, Drush Make and Capistrano
Depolying Drupal with Git, Drush Make and CapistranoDepolying Drupal with Git, Drush Make and Capistrano
Depolying Drupal with Git, Drush Make and Capistranolibsys
 
App cap2956v2-121001194956-phpapp01 (1)
App cap2956v2-121001194956-phpapp01 (1)App cap2956v2-121001194956-phpapp01 (1)
App cap2956v2-121001194956-phpapp01 (1)outstanding59
 
Inside the Hadoop Machine @ VMworld
Inside the Hadoop Machine @ VMworldInside the Hadoop Machine @ VMworld
Inside the Hadoop Machine @ VMworldRichard McDougall
 

Similar to Drupal - it all comes down to performance (20)

A Custom Drupal Theme in 40 Minutes
A Custom Drupal Theme in 40 MinutesA Custom Drupal Theme in 40 Minutes
A Custom Drupal Theme in 40 Minutes
 
Drupal Meetup Lisbon
Drupal Meetup LisbonDrupal Meetup Lisbon
Drupal Meetup Lisbon
 
Embracing the modern web using Drupal as Headless CMS with GatsbyJS NYC
Embracing the modern web using Drupal as Headless CMS with GatsbyJS NYCEmbracing the modern web using Drupal as Headless CMS with GatsbyJS NYC
Embracing the modern web using Drupal as Headless CMS with GatsbyJS NYC
 
Building and Maintaining a Distribution in Drupal 7 with Features
Building and Maintaining a  Distribution in Drupal 7 with FeaturesBuilding and Maintaining a  Distribution in Drupal 7 with Features
Building and Maintaining a Distribution in Drupal 7 with Features
 
Improving your Drupal 8 development workflow DrupalCampLA
Improving your Drupal 8 development workflow DrupalCampLAImproving your Drupal 8 development workflow DrupalCampLA
Improving your Drupal 8 development workflow DrupalCampLA
 
BADCamp 2012 -Beginner Best Practices
BADCamp 2012 -Beginner Best PracticesBADCamp 2012 -Beginner Best Practices
BADCamp 2012 -Beginner Best Practices
 
Tutorial MySQL com Java
Tutorial MySQL com JavaTutorial MySQL com Java
Tutorial MySQL com Java
 
Using JavaScript in Drupal
Using JavaScript in DrupalUsing JavaScript in Drupal
Using JavaScript in Drupal
 
SynapseIndia drupal presentation on drupal
SynapseIndia drupal  presentation on drupalSynapseIndia drupal  presentation on drupal
SynapseIndia drupal presentation on drupal
 
Divio - Django in the "cloud" 
Divio - Django in the "cloud" Divio - Django in the "cloud" 
Divio - Django in the "cloud" 
 
Speeding up your Drupal site
Speeding up your Drupal siteSpeeding up your Drupal site
Speeding up your Drupal site
 
Dbdeployer, the universal installer
Dbdeployer, the universal installerDbdeployer, the universal installer
Dbdeployer, the universal installer
 
Best Practices for Moving to Drupal 9
Best Practices for Moving to Drupal 9Best Practices for Moving to Drupal 9
Best Practices for Moving to Drupal 9
 
How to keep Drupal relevant in the Git-based and API-driven CMS era - BADCamp
How to keep Drupal relevant in the Git-based and API-driven CMS era - BADCampHow to keep Drupal relevant in the Git-based and API-driven CMS era - BADCamp
How to keep Drupal relevant in the Git-based and API-driven CMS era - BADCamp
 
Drupal 6 Performance Tips
Drupal 6 Performance TipsDrupal 6 Performance Tips
Drupal 6 Performance Tips
 
Drupal performance and scalability
Drupal performance and scalabilityDrupal performance and scalability
Drupal performance and scalability
 
We need revisions and CRAP everywhere in Drupal core
We need revisions and CRAP everywhere in Drupal coreWe need revisions and CRAP everywhere in Drupal core
We need revisions and CRAP everywhere in Drupal core
 
Depolying Drupal with Git, Drush Make and Capistrano
Depolying Drupal with Git, Drush Make and CapistranoDepolying Drupal with Git, Drush Make and Capistrano
Depolying Drupal with Git, Drush Make and Capistrano
 
App cap2956v2-121001194956-phpapp01 (1)
App cap2956v2-121001194956-phpapp01 (1)App cap2956v2-121001194956-phpapp01 (1)
App cap2956v2-121001194956-phpapp01 (1)
 
Inside the Hadoop Machine @ VMworld
Inside the Hadoop Machine @ VMworldInside the Hadoop Machine @ VMworld
Inside the Hadoop Machine @ VMworld
 

More from Janis Janovskis

Drupal for big data projects at the DupalCamp North 2015.
Drupal for big data projects at the DupalCamp North 2015.Drupal for big data projects at the DupalCamp North 2015.
Drupal for big data projects at the DupalCamp North 2015.Janis Janovskis
 
Don't drive diesels - why quality matters
Don't drive diesels  - why quality mattersDon't drive diesels  - why quality matters
Don't drive diesels - why quality mattersJanis Janovskis
 
Drupal for big data is it ready?
Drupal for big data   is it ready?Drupal for big data   is it ready?
Drupal for big data is it ready?Janis Janovskis
 
How to set up a great team?
How to set up a great team?How to set up a great team?
How to set up a great team?Janis Janovskis
 
Leading open source development team on large scale cloud based systems
Leading open source development team on large scale cloud based systemsLeading open source development team on large scale cloud based systems
Leading open source development team on large scale cloud based systemsJanis Janovskis
 

More from Janis Janovskis (6)

Drupal for big data projects at the DupalCamp North 2015.
Drupal for big data projects at the DupalCamp North 2015.Drupal for big data projects at the DupalCamp North 2015.
Drupal for big data projects at the DupalCamp North 2015.
 
Don't drive diesels - why quality matters
Don't drive diesels  - why quality mattersDon't drive diesels  - why quality matters
Don't drive diesels - why quality matters
 
Drupal for big data is it ready?
Drupal for big data   is it ready?Drupal for big data   is it ready?
Drupal for big data is it ready?
 
How to set up a great team?
How to set up a great team?How to set up a great team?
How to set up a great team?
 
Why to give talks
Why to give talksWhy to give talks
Why to give talks
 
Leading open source development team on large scale cloud based systems
Leading open source development team on large scale cloud based systemsLeading open source development team on large scale cloud based systems
Leading open source development team on large scale cloud based systems
 

Recently uploaded

The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 

Recently uploaded (20)

The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 

Drupal - it all comes down to performance

  • 1. DrupalCamps 2012 Drupal it all comes down to performance Janis Janovskis @PASSIVUS http://passivemanagement.net
  • 2. Drupal it all comes down to performance ?
  • 3. Drupal it all comes down to performance WHY? WHERE? HOW? :)
  • 4. Drupal it all comes down to performance Database level – wt … is cache? ✔ cache_block ✔ cache_bootstrap ✔ cache_field ✔ cache_form ✔ cache_.....
  • 5. Drupal it all comes down to performance Database → cache_your_???(); ✔ cache_set ✔ cache_get ✔ ctools_include('object-cache'); ✔ ctools_object_cache_set('my_module', $id, $object); ✔ ctools_include('object-cache'); ✔ ctools_object_cache_clear('my_module', $id);
  • 6. Drupal it all comes down to performance Database → caching(); ✔ Query caching – query_cache_type=1 ✔ table caching – memcache ✔ noSQL ➔ MongoDB ➔ CouchDB ➔ Reddis ➔ ….
  • 7. Drupal it all comes down to performance PHP ✔ APC ✔ XCACHE ✔ Remove redundant modules(code) ✔ Profiling (Xhprof)
  • 8. Drupal it all comes down to performance PHP - Modules ✔ entity_cache ✔ boost (best on shared environments) ✔ block_cache_alter ✔ memcache api integration ✔ apc integration ✔ elysia cron (better cron job management) ✔ ajax blocks
  • 9. Drupal it all comes down to performance Filesystem - backend ✔ File size limitations (file field configuration ✔ aggregate css ✔ aggregate js ✔ remove redundant css/js ✔ cdn
  • 10. Drupal it all comes down to performance Files –> front end(); ✔ Build in css/js architecture (“clearfix”) ✔ Built in js framework (jQuery, + jQuery UI(D7 ✔ Image preloads ADMIN CONTENT MODULE THEME THEME
  • 11. Drupal it all comes down to performance Performance → Web servers(); ✔ Load balancing ✔ Apache mod_proxy ✔ Ningx vs Apache ✔ Varnish proxy caching
  • 12. Drupal it all comes down to performance TESTING YOUR BUILT ✔ DrupalWebTestCase ✔ devel module → query information ✔ views statistics ✔ performance tests(jmeter)
  • 13. Drupal it all comes down to performance www.bounty.com ✔ ~1.5 milj. users ✔ Affiliate marketing solutions ✔ Embed community ✔ “Crapped” (not fresh) backend ✔ Almost no documentation ✔ Offline db integration
  • 14.
  • 15. Drupal it all comes down to performance Architecture APACHE1 MEMCACHE1 LOAD BALANCER FILE SERVER MYSQL MYSQL MYSQL MYSQL APACHE2 MEMCACHE1
  • 16. Drupal it all comes down to performance Bounty → Improvements(); ✔ No panels ✔ Block instances ✔ By, by boot :) ✔ Education – tutoring ✔ Micro-sites ✔ Code improvements(Documentation) ✔ Removing redundancies (profile module)
  • 17.
  • 18. Drupal it all comes down to performance www.savethechildren.org.uk ✔ 25 editors ✔ UI friendly configuration ➔ Panels ➔ Context ➔ Views ➔ Pages
  • 19. Drupal it all comes down to performance Architecture varnish1 apache1 memcache1 MYSQL LOAD files BALANCER MYSQL MYSQL varnish1 apache2 memcache2
  • 20. Drupal it all comes down to performance Save the Children → improvements(); ✔ Memcache ✔ Profiling with xhprof, devel ✔ Contributing to community ✔ Education ✔ … I am still on this role …..
  • 21. Drupal it all comes down to performance Improvements → personal(); ✔ Analysing ✔ Contributing ✔ Training ✔ Sharing
  • 22. Drupal it all comes down to performance Thanks http://passivemanagement.net janis.janovskis@passivemanagement.net @PASSIVUS