SlideShare una empresa de Scribd logo
1 de 22
Wordpress Scalability

     Joe Taiabjee
     b5media Inc.
(Dramatization)
Wordpress and Performance
• Performance is always a tradeoff between
  functionality and speed
• Wordpress out of the box is pretty fast
• Plugins add functionality, but also have a cost
  in terms of performance
Some plugins are heavier than others!
Watch for plugins that:
• Display differently for different users
• Personalize the site with user preferences
• Extra database queries
• Database writes on page loads
WP Cache
WP Super Cache
Oops! Too late!
• If people can’t get to your site, chances are
  your wp-admin is dead too
• Use .htaccess to deny everyone except you
• Disable “heavy” plugins, and any non-
  essential ones
• Confirm wp-cache, or wp-supercache is active
  and enabled
• Offload some page content to another host
  (images, js)
Blog Growth Roadmap
• Optimize your config first
• Poorly written themes, and heavy plugins will
  cost you as you grow
• Scaling your infrastructure multiplies your
  good habits as well as bad
Hosting Infrastructure
• Short Term Spike vs. Traffic Growth
• As your base traffic grows, the spikes get
  bigger
• Try to stay one step ahead of your traffic
  growth
Shared Hosting
Shared Hosting
Virtual Private Server (VPS)
Blog Growth Roadmap
• Have access to change configuration
• Can even replace apache with other
  webserver software
• Information on Wordpress Codex to help
  optimize your configuration
• Disadvantage: you need to know what you are
  doing!
Dedicated Server
2 Servers
Database




Web
Scale out Web Servers
Database



Web



Load Balancer
Blog Growth Roadmap
• Keep docroots in sync
  – Particularly wp-content/uploads
  – Just a few servers, use NFS
• Issues with Supercache
  – Batcache with Memcached
• Removes single point of failure
• Doesn’t have to be expensive
• Scales really well from here, just by adding web
  servers
Scale out Web Servers
Database



Web



Load Balancer
Redundancy
Databases



Web



Load Balancer
Questions?

       Joe Taiabjee
http://www.b5media.com/
  http://www.joetek.ca/
         @joetek

Más contenido relacionado

La actualidad más candente

Bodócz Tamás- Web Perfomance & Caching Issues
Bodócz Tamás- Web Perfomance & Caching IssuesBodócz Tamás- Web Perfomance & Caching Issues
Bodócz Tamás- Web Perfomance & Caching Issues
veszpremimeetup
 

La actualidad más candente (18)

Building a DevOps pipeline for Serverless by using Mocha, GitHub and Travis
Building a DevOps pipeline for Serverless by using Mocha, GitHub and TravisBuilding a DevOps pipeline for Serverless by using Mocha, GitHub and Travis
Building a DevOps pipeline for Serverless by using Mocha, GitHub and Travis
 
Meta Refresh 2014
Meta Refresh 2014Meta Refresh 2014
Meta Refresh 2014
 
I Can Haz More Performanz?
I Can Haz More Performanz?I Can Haz More Performanz?
I Can Haz More Performanz?
 
Speed up Your Joomla Site for Ultimate Performance
Speed up Your Joomla Site for Ultimate PerformanceSpeed up Your Joomla Site for Ultimate Performance
Speed up Your Joomla Site for Ultimate Performance
 
JS digest. July 2018
JS digest.  July 2018JS digest.  July 2018
JS digest. July 2018
 
Leeward WordPress Meetup- Caching and Website Speed
Leeward WordPress Meetup- Caching and Website SpeedLeeward WordPress Meetup- Caching and Website Speed
Leeward WordPress Meetup- Caching and Website Speed
 
2deHands.be - Tuning a Big Classifieds Site
2deHands.be - Tuning a Big Classifieds Site2deHands.be - Tuning a Big Classifieds Site
2deHands.be - Tuning a Big Classifieds Site
 
Caching in Drupal 8
Caching in Drupal 8Caching in Drupal 8
Caching in Drupal 8
 
Wp frameworks- WordCamp KTM #10
Wp frameworks- WordCamp KTM #10Wp frameworks- WordCamp KTM #10
Wp frameworks- WordCamp KTM #10
 
Wordpress horsepower
Wordpress horsepowerWordpress horsepower
Wordpress horsepower
 
About Caching
About CachingAbout Caching
About Caching
 
The Power of a Video Library - WordCamp Raleigh
The  Power of a Video Library - WordCamp RaleighThe  Power of a Video Library - WordCamp Raleigh
The Power of a Video Library - WordCamp Raleigh
 
Bodócz Tamás- Web Perfomance & Caching Issues
Bodócz Tamás- Web Perfomance & Caching IssuesBodócz Tamás- Web Perfomance & Caching Issues
Bodócz Tamás- Web Perfomance & Caching Issues
 
Speed!
Speed!Speed!
Speed!
 
Building faster websites: web performance with WordPress
Building faster websites: web performance with WordPressBuilding faster websites: web performance with WordPress
Building faster websites: web performance with WordPress
 
Universal React apps in Next.js
Universal React apps in Next.jsUniversal React apps in Next.js
Universal React apps in Next.js
 
Make Local WordPress Development Simple
Make Local WordPress Development SimpleMake Local WordPress Development Simple
Make Local WordPress Development Simple
 
WordCamp RVA
WordCamp RVAWordCamp RVA
WordCamp RVA
 

Destacado (7)

Presentación colectiva informatizada
Presentación colectiva informatizadaPresentación colectiva informatizada
Presentación colectiva informatizada
 
基于嵌入式系统的Avs P10编码系统设计
基于嵌入式系统的Avs P10编码系统设计基于嵌入式系统的Avs P10编码系统设计
基于嵌入式系统的Avs P10编码系统设计
 
Ezagutza Askea
Ezagutza AskeaEzagutza Askea
Ezagutza Askea
 
Jrw Wk2 Blogs
Jrw Wk2  BlogsJrw Wk2  Blogs
Jrw Wk2 Blogs
 
oioipoiuiop
oioipoiuiopoioipoiuiop
oioipoiuiop
 
Jrw Ms Office And Tables
Jrw Ms Office And TablesJrw Ms Office And Tables
Jrw Ms Office And Tables
 
Contoh latihan rumusan
Contoh latihan rumusanContoh latihan rumusan
Contoh latihan rumusan
 

Similar a Wordcamp2009

Scaling a Web Service
Scaling a Web ServiceScaling a Web Service
Scaling a Web Service
Leon Ho
 
WordPress Performance & Scalability
WordPress Performance & ScalabilityWordPress Performance & Scalability
WordPress Performance & Scalability
Joseph Scott
 
How to Speed Up Your Joomla! Site
How to Speed Up Your Joomla! SiteHow to Speed Up Your Joomla! Site
How to Speed Up Your Joomla! Site
Daniel Kanchev
 
Web frameworks don't matter
Web frameworks don't matterWeb frameworks don't matter
Web frameworks don't matter
Tomas Doran
 
WordCamp RVA 2011 - Performance & Tuning.pdf
WordCamp RVA 2011 - Performance & Tuning.pdfWordCamp RVA 2011 - Performance & Tuning.pdf
WordCamp RVA 2011 - Performance & Tuning.pdf
codearachnid_test
 

Similar a Wordcamp2009 (20)

Optimizing Your Site for Holiday Traffic
Optimizing Your Site for Holiday TrafficOptimizing Your Site for Holiday Traffic
Optimizing Your Site for Holiday Traffic
 
Introduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website SpeedIntroduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website Speed
 
23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress
 
Scaling a Web Service
Scaling a Web ServiceScaling a Web Service
Scaling a Web Service
 
WordPress Performance & Scalability
WordPress Performance & ScalabilityWordPress Performance & Scalability
WordPress Performance & Scalability
 
Learn WordPress - Live Session 2 Slides
Learn WordPress - Live Session 2 SlidesLearn WordPress - Live Session 2 Slides
Learn WordPress - Live Session 2 Slides
 
How to Speed Up Your Joomla! Site
How to Speed Up Your Joomla! SiteHow to Speed Up Your Joomla! Site
How to Speed Up Your Joomla! Site
 
WPblog's Ultimate WordPress Guide to Boost Your Website Performance
WPblog's Ultimate WordPress Guide to Boost Your Website Performance WPblog's Ultimate WordPress Guide to Boost Your Website Performance
WPblog's Ultimate WordPress Guide to Boost Your Website Performance
 
Scaling Drupal: Not IF... HOW
Scaling Drupal: Not IF... HOWScaling Drupal: Not IF... HOW
Scaling Drupal: Not IF... HOW
 
Web frameworks don't matter
Web frameworks don't matterWeb frameworks don't matter
Web frameworks don't matter
 
Magee Dday2 Fixing App Performance Italiano
Magee Dday2 Fixing App Performance ItalianoMagee Dday2 Fixing App Performance Italiano
Magee Dday2 Fixing App Performance Italiano
 
21 Ways to Make WordPress Fast
21 Ways to Make WordPress Fast21 Ways to Make WordPress Fast
21 Ways to Make WordPress Fast
 
Architectures For Scaling Ajax
Architectures For Scaling AjaxArchitectures For Scaling Ajax
Architectures For Scaling Ajax
 
Scaling Wordpress
Scaling WordpressScaling Wordpress
Scaling Wordpress
 
Increase Your WordPress Website's Google PageSpeed Score
Increase Your WordPress Website's Google PageSpeed ScoreIncrease Your WordPress Website's Google PageSpeed Score
Increase Your WordPress Website's Google PageSpeed Score
 
Best wordpress hosting
Best wordpress hosting Best wordpress hosting
Best wordpress hosting
 
Show Me The Cache!
Show Me The Cache!Show Me The Cache!
Show Me The Cache!
 
Fast Websites: The What, Why, and How
Fast Websites: The What, Why, and HowFast Websites: The What, Why, and How
Fast Websites: The What, Why, and How
 
WordCamp RVA 2011 - Performance & Tuning.pdf
WordCamp RVA 2011 - Performance & Tuning.pdfWordCamp RVA 2011 - Performance & Tuning.pdf
WordCamp RVA 2011 - Performance & Tuning.pdf
 
WordCamp RVA
WordCamp RVAWordCamp RVA
WordCamp RVA
 

Último

Último (20)

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
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
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
 
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
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
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...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 

Wordcamp2009

  • 1. Wordpress Scalability Joe Taiabjee b5media Inc.
  • 2.
  • 4.
  • 5.
  • 6. Wordpress and Performance • Performance is always a tradeoff between functionality and speed • Wordpress out of the box is pretty fast • Plugins add functionality, but also have a cost in terms of performance
  • 7. Some plugins are heavier than others! Watch for plugins that: • Display differently for different users • Personalize the site with user preferences • Extra database queries • Database writes on page loads
  • 9. Oops! Too late! • If people can’t get to your site, chances are your wp-admin is dead too • Use .htaccess to deny everyone except you • Disable “heavy” plugins, and any non- essential ones • Confirm wp-cache, or wp-supercache is active and enabled • Offload some page content to another host (images, js)
  • 10. Blog Growth Roadmap • Optimize your config first • Poorly written themes, and heavy plugins will cost you as you grow • Scaling your infrastructure multiplies your good habits as well as bad
  • 11. Hosting Infrastructure • Short Term Spike vs. Traffic Growth • As your base traffic grows, the spikes get bigger • Try to stay one step ahead of your traffic growth
  • 15. Blog Growth Roadmap • Have access to change configuration • Can even replace apache with other webserver software • Information on Wordpress Codex to help optimize your configuration • Disadvantage: you need to know what you are doing!
  • 18. Scale out Web Servers Database Web Load Balancer
  • 19. Blog Growth Roadmap • Keep docroots in sync – Particularly wp-content/uploads – Just a few servers, use NFS • Issues with Supercache – Batcache with Memcached • Removes single point of failure • Doesn’t have to be expensive • Scales really well from here, just by adding web servers
  • 20. Scale out Web Servers Database Web Load Balancer
  • 22. Questions? Joe Taiabjee http://www.b5media.com/ http://www.joetek.ca/ @joetek