Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Scaling WordPress for High Traffic Sites
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Paul de Paula
December 10, 2016
Technology
0
93
Scaling WordPress for High Traffic Sites
Presented at WordCamp Manila 2017, Microsoft, Makati City, Manila Philippines
Paul de Paula
December 10, 2016
Tweet
Share
More Decks by Paul de Paula
See All by Paul de Paula
Microservices using Docker, Kubernetes, etc
fusionx1
0
65
Drupal Camp Cebu 2017
fusionx1
0
79
Redis at Beercon
fusionx1
0
55
Drupal 8 in a nutshell at TechCaravan
fusionx1
0
77
Pantheon Terminus
fusionx1
0
91
International Open Data Day 2016
fusionx1
0
54
Drupal Deployment Automation using AWS Elastic Beanstalk and Docker
fusionx1
3
1.3k
Drupal Security
fusionx1
1
94
Drupal Automation using OpenStack
fusionx1
0
330
Other Decks in Technology
See All in Technology
白金鉱業Meetup_Vol.22_Orbital Senseを支える衛星画像のマルチモーダルエンベディングと地理空間のあいまい検索技術
brainpadpr
2
170
製造業ドメインにおける LLMプロダクト構築: 複雑な文脈へのアプローチ
caddi_eng
0
420
OpenClawで回す組織運営
jacopen
1
210
バクラクのSREにおけるAgentic AIへの挑戦/Our Journey with Agentic AI
taddy_919
2
1k
「ヒットする」+「近い」を同時にかなえるスマートサジェストの作り方.pdf
nakasho
0
110
技術的負債の泥沼から組織を救う3つの転換点
nwiizo
5
1.7k
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
オンプレとGoogle Cloudを安全に繋ぐための、セキュア通信の勘所
waiwai2111
3
1.1k
Oracle Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
5
1.1k
男(監査)はつらいよ - Policy as CodeからAIエージェントへ
ken5scal
5
720
AI時代にエンジニアはどう成長すれば良いのか?
recruitengineers
PRO
1
130
問い合わせ自動化の技術的挑戦
recruitengineers
PRO
2
140
Featured
See All Featured
Paper Plane (Part 1)
katiecoart
PRO
0
5.1k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
400
30 Presentation Tips
portentint
PRO
1
250
Bash Introduction
62gerente
615
210k
Done Done
chrislema
186
16k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
86
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.3k
The Pragmatic Product Professional
lauravandoore
37
7.2k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
470
Why Our Code Smells
bkeepers
PRO
340
58k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
59
50k
Transcript
Scaling WordPress for High Traffic Sites
Customer Success Engineer Pantheon Performance & Application Senior Developer X-Team
IT Consultant World Bank Senior Developer New Amsterdam Ideas (NuCivic now) Who am I ? Weston Ruter Technology Director, XWP
“We have a Million of Containers and running 6 Billion
Pageviews a month”
None
None
None
None
None
None
None
CMS Support Spectrum
None
None
None
None
None
Today’s Topics • Page Caching • Object Caching • Query
Performance • Searching for Scale • Elastic Architecture • Development and Workflow • A Real-World Scalable Architecture
None
How Varnish Works
How Varnish Works
How Varnish Works
Page Caching
Page Caching Challenges & Takeaways Cache TTL and Expiration Fragment
caching Cookies
Page Caching
Page Caching
Today’s Topics • Page Caching • Object Caching • Query
Performance • Searching for Scale • Elastic Architecture • Development and Workflow • A Real-World Scalable Architecture
Object Caching An object cache speeds up PHP execution time
while lessening the load on the database.
Object Cache Challenges & Takeaways ! Complexity ! Invalidation !
Optimization ! Eviction
Object Cache
LCache for WordPress
LCache for WordPress
Today’s Topics • Page Caching • Object Caching • Query
Performance • Searching for Scale • Elastic Architecture • Development and Workflow • A Real-World Scalable Architecture
Query Performance mysql> SELECT count(*) FROM wp_options WHERE autoload=’yes’;
Mysql Replication Break
Mysql Replication Break
Mysql Replication Break
Avoiding “Queries of Death”
None
None
Query Performance Challenges & Takeaways ! Query routing ! Replication
lag ! Debuggability ! Regressions
Query Performance
Today’s Topics • Page Caching • Object Caching • Query
Performance • Searching for Scale • Elastic Architecture • Development and Workflow • A Real-World Scalable Architecture
Searching for Scale Use a dedicated search index like Apache
Solr or ElasticSearch
Searching for Scale Challenge & Takeaways ! Overriding WP_Query !
Index Rebuilds ! Complexity
Today’s Topics • Page Caching • Object Caching • Query
Performance • Searching for Scale • Elastic Architecture • Development and Workflow • A Real-World Scalable Architecture
Elastic Architecture Horizontal Scalability Is the Scalability That Matters
Traditional Options Shared vs VM vs Cluster
Traditional Options at Scale In Real Life
Next Generation Architecture The Same Design, Just Add More
Elastic Architecture Challenges and Takeaways ! Load balancing ! Shared
media ! Consistency
Today’s Topics • Page Caching • Object Caching • Query
Performance • Searching for Scale • Elastic Architecture • Development and Workflow • A Real-World Scalable Architecture
Development & Workflow
Development & Workflow
Development & Workflow
Development Workflow Challenges & Takeaways •Environmental consistency •Site configuration •Local
development •Automation
Today’s Topics • Page Caching • Object Caching • Query
Performance • Searching for Scale • Elastic Architecture • Development and Workflow • A Real-World Scalable Architecture
✓Linux ✓Varnish or Edge Cache Provider ✓Content Delivery Network ✓Apache
or Nginx ✓PHP ✓Memcached or Redis ✓ElasticSearch or Apache Solr ✓MySQL and Database Replication Putting it all Together
None
None