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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Paul de Paula
December 10, 2016
Technology
0
91
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
63
Drupal Camp Cebu 2017
fusionx1
0
77
Redis at Beercon
fusionx1
0
53
Drupal 8 in a nutshell at TechCaravan
fusionx1
0
76
Pantheon Terminus
fusionx1
0
88
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
93
Drupal Automation using OpenStack
fusionx1
0
320
Other Decks in Technology
See All in Technology
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
260
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
こんなところでも(地味に)活躍するImage Modeさんを知ってるかい?- Image Mode for OpenShift -
tsukaman
1
160
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
190
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
260
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
AI駆動開発を事業のコアに置く
tasukuonizawa
1
270
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
110
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.3k
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
250
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
140
Featured
See All Featured
Paper Plane (Part 1)
katiecoart
PRO
0
4.3k
The World Runs on Bad Software
bkeepers
PRO
72
12k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
230
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
180
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
210
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2k
4 Signs Your Business is Dying
shpigford
187
22k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
740
Mobile First: as difficult as doing things right
swwweet
225
10k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
120
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
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