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
Paul de Paula
December 10, 2016
Technology
0
89
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
56
Drupal Camp Cebu 2017
fusionx1
0
66
Redis at Beercon
fusionx1
0
51
Drupal 8 in a nutshell at TechCaravan
fusionx1
0
68
Pantheon Terminus
fusionx1
0
82
International Open Data Day 2016
fusionx1
0
52
Drupal Deployment Automation using AWS Elastic Beanstalk and Docker
fusionx1
3
1.3k
Drupal Security
fusionx1
1
89
Drupal Automation using OpenStack
fusionx1
0
310
Other Decks in Technology
See All in Technology
Reflections of AI: A Trilogy in Four Parts (GOTO; Copenhagen 2025)
ondfisk
0
100
KMP の Swift export
kokihirokawa
0
350
Function calling機能をPLaMo2に実装するには / PFN LLMセミナー
pfn
PRO
0
1k
Uncle Bobの「プロフェッショナリズムへの期待」から学ぶプロの覚悟
nakasho
2
100
Adapty_東京AI祭ハッカソン2025ピッチスライド
shinoyamada
0
220
ACA でMAGI システムを社内で展開しようとした話
mappie_kochi
1
310
AIツールでどこまでデザインを忠実に実装できるのか
oikon48
6
3.1k
ガバメントクラウドの概要と自治体事例(名古屋市)
techniczna
2
210
三菱電機・ソニーグループ共同の「Agile Japan企業内サテライト」_2025
sony
0
130
SREとソフトウェア開発者の合同チームはどのようにS3のコストを削減したか?
muziyoshiz
1
210
E2Eテスト設計_自動化のリアル___Playwrightでの実践とMCPの試み__AIによるテスト観点作成_.pdf
findy_eventslides
1
570
Azure Well-Architected Framework入門
tomokusaba
1
350
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1371
200k
Visualization
eitanlees
148
16k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Being A Developer After 40
akosma
91
590k
Site-Speed That Sticks
csswizardry
11
890
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
900
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
32
2.3k
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