SlideShare uma empresa Scribd logo
1 de 21
Baixar para ler offline
Drupal for the Enterprise




Seminar by DPCI featuring Dries Buytaert
Michael Mainiero, and Jeff Rigby
Thursday, October 29, 2009




  © 2009 DPCI. All Rights Reserved.
Drupal for the Enterprise




Presented by Jeff Rigby
Web Application Architect, DPCI
Thursday, October 29th, 2009




   © 2009 DPCI. All Rights Reserved.
Goals of this Presentation
          Describe how to scale Drupal from an out-of-box
          build to an enterprise level solution
          Explain some of the approaches DPCI has used
          with our clients to meet their scaling needs




©2009 DPCI. All Rights Reserved.
Scaling Drupal
          Anonymous is easy to scale
            — Mirror servers
            — Reverse-Proxy caches
            — Drupal only manages the content
          Authenticated traffic is more difficult
            — Each dynamic page must be processed by PHP
            — Requires more horsepower




©2009 DPCI. All Rights Reserved.
Built In Options
          Configuration
            — Drupal page/block cache
            — Page compression
            — Aggregate JS/CSS

          Coding
            — Drupal cache (use it!)
            — Use static variables when possible

    Immediately usable with no additional modules



©2009 DPCI. All Rights Reserved.
Built In Options Results
                      4.8
      Auth
                      4.8



                                                                      Optimized
                                                         96.5         OOB
      Anon
                      5.8



                0             20   40      60       80   100    120
                                   Requests Per Second




©2009 DPCI. All Rights Reserved.
Quick Optimizations
          Boost
          Memcached
          Opcode Cache




©2009 DPCI. All Rights Reserved.
Boost
          Amazing performance gain
          Anonymous users only
          Serves static files
          No additional software or hardware needed




©2009 DPCI. All Rights Reserved.
Memcached
          Easy to install on the server
          Minor module configuration
          Removes the cache from the database
          Optionally removes session tracking from the
          database
          Significantly reduces MySQL statements




©2009 DPCI. All Rights Reserved.
Opcode Cache
    — A few out there (APC, Zend Optimizer, XCache,
      eAccelerator)
    — Easy to install
    — Pre-compiles PHP in memory
    — Reduces server load




©2009 DPCI. All Rights Reserved.
Combined Results
                   15.1
     Auth
                  4.8



                                                                            Optimized
                                                                427         OOB
    Anon
                  5.8



              0                100    200        300      400         500
                                     Request Per Second




©2009 DPCI. All Rights Reserved.
MySQL Tweaks
          Tune your MySQL configuration to your server.
          MySQL Tuner is very useful:
          http://blog.mysqltuner.com
          Enable the query cache!
          Enable the slow query log to spot problem queries




©2009 DPCI. All Rights Reserved.
Apache SOLR
          Module provides drop-in replacement for search
          Gets search out of Drupal
          Avoids expensive node_load() calls
          Available as a hosted solution from Acquia




©2009 DPCI. All Rights Reserved.
Reverse-Proxy Cache
          Squid or Varnish
          Run on the same server or clustered on multiple
          external servers
          Can reduce web server traffic by 90%+ if serving
          the entire site (anonymous traffic)
          For dynamic sites, offload all static files (JS, CSS,
          images, etc.) and let Apache focus on PHP
          Low overhead
          Tip: Override the expires header (
            — Expires: Sun, 19 Nov 1978 05:00:00 GMT



©2009 DPCI. All Rights Reserved.
Reverse-Proxy Cache




©2009 DPCI. All Rights Reserved.
Use a CDN
          Many options out there: Akamai, Amazon, CacheFly
          Generally easy to setup
          Off-load entire site or only static files (JS, CSS,
          images, etc.)
          Can be expensive




©2009 DPCI. All Rights Reserved.
Static Page Tips
          Javascript!
          Store dynamic values in a cookie
          Use AJAX to load small portions of dynamic
          content
          Use Javascript to replace dates with natural
          language “About 4 Minutes Ago”




©2009 DPCI. All Rights Reserved.
Load Balanced Web Servers
          Use rsync to keep Web servers synched or NFS web
          root
          Advanced load balancers can handle server
          failures
          Easy to add or remove servers with no site
          downtime
          Run server intensive tasks (cron, data import, etc.)
          on an internal server to avoid site slow downs




©2009 DPCI. All Rights Reserved.
Multiple MySQL Databases
          Master / Slave Setup
            — Minimum of 2 servers
            — Drupal 5 and 6 require minor core hacks
            — Built into Drupal 7!
            — Be mindful of database lag
            — Reliant on master database
          Use Memcached to share the query cache across
          all servers
          Clustering and distributed configurations



©2009 DPCI. All Rights Reserved.
Sample Large Scale Site




©2009 DPCI. All Rights Reserved.
Scaling Drupal


  Questions?
                   Jeff’ s Blog:
        www.databasepublish.com/blog/jrigby




©2009 DPCI. All Rights Reserved.

Mais conteúdo relacionado

Mais procurados

Vm13 vnx mixed workloads
Vm13 vnx mixed workloadsVm13 vnx mixed workloads
Vm13 vnx mixed workloadspittmantony
 
AWSome Data Protection with Veeam
AWSome Data Protection with VeeamAWSome Data Protection with Veeam
AWSome Data Protection with VeeamAmazon Web Services
 
Sofia WP User Group Presentation
Sofia WP User Group PresentationSofia WP User Group Presentation
Sofia WP User Group PresentationDaniel Kanchev
 
IV Evento GeneXus Italia - Storage IBM
IV Evento GeneXus Italia - Storage IBMIV Evento GeneXus Italia - Storage IBM
IV Evento GeneXus Italia - Storage IBMRad Solutions
 
SM16 - Can i move my stuff to openstack
SM16 - Can i move my stuff to openstackSM16 - Can i move my stuff to openstack
SM16 - Can i move my stuff to openstackpittmantony
 
Microsoft Azure Virtual Machine
Microsoft Azure Virtual MachineMicrosoft Azure Virtual Machine
Microsoft Azure Virtual MachineHelmy Mohamed
 
Web agencies: An analysis of the OVH infrastructure to optimise your web proj...
Web agencies: An analysis of the OVH infrastructure to optimise your web proj...Web agencies: An analysis of the OVH infrastructure to optimise your web proj...
Web agencies: An analysis of the OVH infrastructure to optimise your web proj...OVHcloud
 
Lessons Learned Managing Large AWS Environments
Lessons Learned Managing Large AWS EnvironmentsLessons Learned Managing Large AWS Environments
Lessons Learned Managing Large AWS EnvironmentsRonald Bradford
 
SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3UniFabric
 
Nginx [engine x] and you (and WordPress)
Nginx [engine x] and you (and WordPress)Nginx [engine x] and you (and WordPress)
Nginx [engine x] and you (and WordPress)Justin Foell
 
AWS Summit Auckland 2014 | AWSome Data Protection with Veeam - Session Sponso...
AWS Summit Auckland 2014 | AWSome Data Protection with Veeam - Session Sponso...AWS Summit Auckland 2014 | AWSome Data Protection with Veeam - Session Sponso...
AWS Summit Auckland 2014 | AWSome Data Protection with Veeam - Session Sponso...Amazon Web Services
 
What's new in Veeam 7 - Was ist neu in Veeam 7
What's new in Veeam 7 - Was ist neu in Veeam 7What's new in Veeam 7 - Was ist neu in Veeam 7
What's new in Veeam 7 - Was ist neu in Veeam 7Osys AG
 
Veeam Backup and Replication: Overview
Veeam  Backup and Replication: OverviewVeeam  Backup and Replication: Overview
Veeam Backup and Replication: OverviewDudley Smith
 
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...Alex Gorbachev
 
wordpress-performance-presentation
wordpress-performance-presentationwordpress-performance-presentation
wordpress-performance-presentationArun Janarthanan
 
Securing Your WordPress Website - WordCamp Sydney 2012
Securing Your WordPress Website - WordCamp Sydney 2012Securing Your WordPress Website - WordCamp Sydney 2012
Securing Your WordPress Website - WordCamp Sydney 2012Vlad Lasky
 
V mware2012 20121221_final
V mware2012 20121221_finalV mware2012 20121221_final
V mware2012 20121221_finalWeb2Present
 
Azure virtual machines & Terraform
Azure virtual machines  & Terraform Azure virtual machines  & Terraform
Azure virtual machines & Terraform Juan Jose Gazzola
 
Tips for Fixing a Hacked WordPress Site - WordCamp Sydney 2016
Tips for Fixing a Hacked WordPress Site - WordCamp Sydney 2016Tips for Fixing a Hacked WordPress Site - WordCamp Sydney 2016
Tips for Fixing a Hacked WordPress Site - WordCamp Sydney 2016Vlad Lasky
 

Mais procurados (20)

Vm13 vnx mixed workloads
Vm13 vnx mixed workloadsVm13 vnx mixed workloads
Vm13 vnx mixed workloads
 
AWSome Data Protection with Veeam
AWSome Data Protection with VeeamAWSome Data Protection with Veeam
AWSome Data Protection with Veeam
 
Sofia WP User Group Presentation
Sofia WP User Group PresentationSofia WP User Group Presentation
Sofia WP User Group Presentation
 
IV Evento GeneXus Italia - Storage IBM
IV Evento GeneXus Italia - Storage IBMIV Evento GeneXus Italia - Storage IBM
IV Evento GeneXus Italia - Storage IBM
 
SM16 - Can i move my stuff to openstack
SM16 - Can i move my stuff to openstackSM16 - Can i move my stuff to openstack
SM16 - Can i move my stuff to openstack
 
Microsoft Azure Virtual Machine
Microsoft Azure Virtual MachineMicrosoft Azure Virtual Machine
Microsoft Azure Virtual Machine
 
Web agencies: An analysis of the OVH infrastructure to optimise your web proj...
Web agencies: An analysis of the OVH infrastructure to optimise your web proj...Web agencies: An analysis of the OVH infrastructure to optimise your web proj...
Web agencies: An analysis of the OVH infrastructure to optimise your web proj...
 
Lessons Learned Managing Large AWS Environments
Lessons Learned Managing Large AWS EnvironmentsLessons Learned Managing Large AWS Environments
Lessons Learned Managing Large AWS Environments
 
SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3
 
Nginx [engine x] and you (and WordPress)
Nginx [engine x] and you (and WordPress)Nginx [engine x] and you (and WordPress)
Nginx [engine x] and you (and WordPress)
 
AWS Summit Auckland 2014 | AWSome Data Protection with Veeam - Session Sponso...
AWS Summit Auckland 2014 | AWSome Data Protection with Veeam - Session Sponso...AWS Summit Auckland 2014 | AWSome Data Protection with Veeam - Session Sponso...
AWS Summit Auckland 2014 | AWSome Data Protection with Veeam - Session Sponso...
 
What's new in Veeam 7 - Was ist neu in Veeam 7
What's new in Veeam 7 - Was ist neu in Veeam 7What's new in Veeam 7 - Was ist neu in Veeam 7
What's new in Veeam 7 - Was ist neu in Veeam 7
 
Veeam Backup and Replication: Overview
Veeam  Backup and Replication: OverviewVeeam  Backup and Replication: Overview
Veeam Backup and Replication: Overview
 
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
 
wordpress-performance-presentation
wordpress-performance-presentationwordpress-performance-presentation
wordpress-performance-presentation
 
Securing Your WordPress Website - WordCamp Sydney 2012
Securing Your WordPress Website - WordCamp Sydney 2012Securing Your WordPress Website - WordCamp Sydney 2012
Securing Your WordPress Website - WordCamp Sydney 2012
 
V mware2012 20121221_final
V mware2012 20121221_finalV mware2012 20121221_final
V mware2012 20121221_final
 
Azure virtual machines & Terraform
Azure virtual machines  & Terraform Azure virtual machines  & Terraform
Azure virtual machines & Terraform
 
Tips for Fixing a Hacked WordPress Site - WordCamp Sydney 2016
Tips for Fixing a Hacked WordPress Site - WordCamp Sydney 2016Tips for Fixing a Hacked WordPress Site - WordCamp Sydney 2016
Tips for Fixing a Hacked WordPress Site - WordCamp Sydney 2016
 
RHT Design for Security
RHT Design for SecurityRHT Design for Security
RHT Design for Security
 

Semelhante a Jeff Rigby on Scaling Drupal in the Enterprise

Joomla! Performance on Steroids
Joomla! Performance on SteroidsJoomla! Performance on Steroids
Joomla! Performance on SteroidsSiteGround.com
 
Presentation integration vmware with emc storage
Presentation   integration vmware with emc storagePresentation   integration vmware with emc storage
Presentation integration vmware with emc storagesolarisyourep
 
Improving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetImproving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetAchieve Internet
 
Improving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetImproving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetAchieve Internet
 
My sql vivo_5.5_product_update_pt
My sql  vivo_5.5_product_update_ptMy sql  vivo_5.5_product_update_pt
My sql vivo_5.5_product_update_ptMySQL Brasil
 
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014
Make WordPress Fly With Virtual Server Hosting  - WordCamp Sydney 2014Make WordPress Fly With Virtual Server Hosting  - WordCamp Sydney 2014
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014Vlad Lasky
 
How do I securely deploy Internet websites in PHP on my IBMi?
How do I securely deploy Internet websites in PHP on my IBMi?How do I securely deploy Internet websites in PHP on my IBMi?
How do I securely deploy Internet websites in PHP on my IBMi?Zend by Rogue Wave Software
 
Deploying SOA on the Oracle Database Appliance
Deploying SOA on the Oracle Database ApplianceDeploying SOA on the Oracle Database Appliance
Deploying SOA on the Oracle Database ApplianceO-box
 
Rock Solid WordPress
Rock Solid WordPressRock Solid WordPress
Rock Solid WordPressErik Osterman
 
Hyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and TricksHyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and TricksAmit Gatenyo
 
Drupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance SitesDrupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance SitesExove
 
Drupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance SitesDrupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance Sitesdrupalcampest
 
EMC Symmetrix VMAX: An Introduction to Enterprise Storage: Brian Boyd, Varrow...
EMC Symmetrix VMAX: An Introduction to Enterprise Storage: Brian Boyd, Varrow...EMC Symmetrix VMAX: An Introduction to Enterprise Storage: Brian Boyd, Varrow...
EMC Symmetrix VMAX: An Introduction to Enterprise Storage: Brian Boyd, Varrow...Brian Boyd
 
S016394 pendulum-swings-melbourne-v1708d
S016394 pendulum-swings-melbourne-v1708dS016394 pendulum-swings-melbourne-v1708d
S016394 pendulum-swings-melbourne-v1708dTony Pearson
 
EMC Multisite DR for SQL Server 2012
EMC Multisite DR for SQL Server 2012EMC Multisite DR for SQL Server 2012
EMC Multisite DR for SQL Server 2012xKinAnx
 
Running Oracle EBS in the cloud (DOAG TECH17 edition)
Running Oracle EBS in the cloud (DOAG TECH17 edition)Running Oracle EBS in the cloud (DOAG TECH17 edition)
Running Oracle EBS in the cloud (DOAG TECH17 edition)Andrejs Prokopjevs
 
IBM & Veeam: Bridging the availability gap
IBM & Veeam: Bridging the availability gapIBM & Veeam: Bridging the availability gap
IBM & Veeam: Bridging the availability gapPaula Koziol
 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesMysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesTarique Saleem
 
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL SupportMysql User Camp
 
S014068 pendulum-swings-orlando-v1705c
S014068 pendulum-swings-orlando-v1705cS014068 pendulum-swings-orlando-v1705c
S014068 pendulum-swings-orlando-v1705cTony Pearson
 

Semelhante a Jeff Rigby on Scaling Drupal in the Enterprise (20)

Joomla! Performance on Steroids
Joomla! Performance on SteroidsJoomla! Performance on Steroids
Joomla! Performance on Steroids
 
Presentation integration vmware with emc storage
Presentation   integration vmware with emc storagePresentation   integration vmware with emc storage
Presentation integration vmware with emc storage
 
Improving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetImproving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve Internet
 
Improving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve InternetImproving Website Performance with Memecached Webinar | Achieve Internet
Improving Website Performance with Memecached Webinar | Achieve Internet
 
My sql vivo_5.5_product_update_pt
My sql  vivo_5.5_product_update_ptMy sql  vivo_5.5_product_update_pt
My sql vivo_5.5_product_update_pt
 
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014
Make WordPress Fly With Virtual Server Hosting  - WordCamp Sydney 2014Make WordPress Fly With Virtual Server Hosting  - WordCamp Sydney 2014
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014
 
How do I securely deploy Internet websites in PHP on my IBMi?
How do I securely deploy Internet websites in PHP on my IBMi?How do I securely deploy Internet websites in PHP on my IBMi?
How do I securely deploy Internet websites in PHP on my IBMi?
 
Deploying SOA on the Oracle Database Appliance
Deploying SOA on the Oracle Database ApplianceDeploying SOA on the Oracle Database Appliance
Deploying SOA on the Oracle Database Appliance
 
Rock Solid WordPress
Rock Solid WordPressRock Solid WordPress
Rock Solid WordPress
 
Hyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and TricksHyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and Tricks
 
Drupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance SitesDrupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance Sites
 
Drupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance SitesDrupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance Sites
 
EMC Symmetrix VMAX: An Introduction to Enterprise Storage: Brian Boyd, Varrow...
EMC Symmetrix VMAX: An Introduction to Enterprise Storage: Brian Boyd, Varrow...EMC Symmetrix VMAX: An Introduction to Enterprise Storage: Brian Boyd, Varrow...
EMC Symmetrix VMAX: An Introduction to Enterprise Storage: Brian Boyd, Varrow...
 
S016394 pendulum-swings-melbourne-v1708d
S016394 pendulum-swings-melbourne-v1708dS016394 pendulum-swings-melbourne-v1708d
S016394 pendulum-swings-melbourne-v1708d
 
EMC Multisite DR for SQL Server 2012
EMC Multisite DR for SQL Server 2012EMC Multisite DR for SQL Server 2012
EMC Multisite DR for SQL Server 2012
 
Running Oracle EBS in the cloud (DOAG TECH17 edition)
Running Oracle EBS in the cloud (DOAG TECH17 edition)Running Oracle EBS in the cloud (DOAG TECH17 edition)
Running Oracle EBS in the cloud (DOAG TECH17 edition)
 
IBM & Veeam: Bridging the availability gap
IBM & Veeam: Bridging the availability gapIBM & Veeam: Bridging the availability gap
IBM & Veeam: Bridging the availability gap
 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesMysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New Features
 
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 
S014068 pendulum-swings-orlando-v1705c
S014068 pendulum-swings-orlando-v1705cS014068 pendulum-swings-orlando-v1705c
S014068 pendulum-swings-orlando-v1705c
 

Último

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 

Último (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 

Jeff Rigby on Scaling Drupal in the Enterprise

  • 1. Drupal for the Enterprise Seminar by DPCI featuring Dries Buytaert Michael Mainiero, and Jeff Rigby Thursday, October 29, 2009 © 2009 DPCI. All Rights Reserved.
  • 2. Drupal for the Enterprise Presented by Jeff Rigby Web Application Architect, DPCI Thursday, October 29th, 2009 © 2009 DPCI. All Rights Reserved.
  • 3. Goals of this Presentation Describe how to scale Drupal from an out-of-box build to an enterprise level solution Explain some of the approaches DPCI has used with our clients to meet their scaling needs ©2009 DPCI. All Rights Reserved.
  • 4. Scaling Drupal Anonymous is easy to scale — Mirror servers — Reverse-Proxy caches — Drupal only manages the content Authenticated traffic is more difficult — Each dynamic page must be processed by PHP — Requires more horsepower ©2009 DPCI. All Rights Reserved.
  • 5. Built In Options Configuration — Drupal page/block cache — Page compression — Aggregate JS/CSS Coding — Drupal cache (use it!) — Use static variables when possible Immediately usable with no additional modules ©2009 DPCI. All Rights Reserved.
  • 6. Built In Options Results 4.8 Auth 4.8 Optimized 96.5 OOB Anon 5.8 0 20 40 60 80 100 120 Requests Per Second ©2009 DPCI. All Rights Reserved.
  • 7. Quick Optimizations Boost Memcached Opcode Cache ©2009 DPCI. All Rights Reserved.
  • 8. Boost Amazing performance gain Anonymous users only Serves static files No additional software or hardware needed ©2009 DPCI. All Rights Reserved.
  • 9. Memcached Easy to install on the server Minor module configuration Removes the cache from the database Optionally removes session tracking from the database Significantly reduces MySQL statements ©2009 DPCI. All Rights Reserved.
  • 10. Opcode Cache — A few out there (APC, Zend Optimizer, XCache, eAccelerator) — Easy to install — Pre-compiles PHP in memory — Reduces server load ©2009 DPCI. All Rights Reserved.
  • 11. Combined Results 15.1 Auth 4.8 Optimized 427 OOB Anon 5.8 0 100 200 300 400 500 Request Per Second ©2009 DPCI. All Rights Reserved.
  • 12. MySQL Tweaks Tune your MySQL configuration to your server. MySQL Tuner is very useful: http://blog.mysqltuner.com Enable the query cache! Enable the slow query log to spot problem queries ©2009 DPCI. All Rights Reserved.
  • 13. Apache SOLR Module provides drop-in replacement for search Gets search out of Drupal Avoids expensive node_load() calls Available as a hosted solution from Acquia ©2009 DPCI. All Rights Reserved.
  • 14. Reverse-Proxy Cache Squid or Varnish Run on the same server or clustered on multiple external servers Can reduce web server traffic by 90%+ if serving the entire site (anonymous traffic) For dynamic sites, offload all static files (JS, CSS, images, etc.) and let Apache focus on PHP Low overhead Tip: Override the expires header ( — Expires: Sun, 19 Nov 1978 05:00:00 GMT ©2009 DPCI. All Rights Reserved.
  • 15. Reverse-Proxy Cache ©2009 DPCI. All Rights Reserved.
  • 16. Use a CDN Many options out there: Akamai, Amazon, CacheFly Generally easy to setup Off-load entire site or only static files (JS, CSS, images, etc.) Can be expensive ©2009 DPCI. All Rights Reserved.
  • 17. Static Page Tips Javascript! Store dynamic values in a cookie Use AJAX to load small portions of dynamic content Use Javascript to replace dates with natural language “About 4 Minutes Ago” ©2009 DPCI. All Rights Reserved.
  • 18. Load Balanced Web Servers Use rsync to keep Web servers synched or NFS web root Advanced load balancers can handle server failures Easy to add or remove servers with no site downtime Run server intensive tasks (cron, data import, etc.) on an internal server to avoid site slow downs ©2009 DPCI. All Rights Reserved.
  • 19. Multiple MySQL Databases Master / Slave Setup — Minimum of 2 servers — Drupal 5 and 6 require minor core hacks — Built into Drupal 7! — Be mindful of database lag — Reliant on master database Use Memcached to share the query cache across all servers Clustering and distributed configurations ©2009 DPCI. All Rights Reserved.
  • 20. Sample Large Scale Site ©2009 DPCI. All Rights Reserved.
  • 21. Scaling Drupal Questions? Jeff’ s Blog: www.databasepublish.com/blog/jrigby ©2009 DPCI. All Rights Reserved.