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
98
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Scaling WordPress for High Traffic Sites
Presented at WordCamp Manila 2017, Microsoft, Makati City, Manila Philippines
Paul de Paula
December 10, 2016
More Decks by Paul de Paula
See All by Paul de Paula
Microservices using Docker, Kubernetes, etc
fusionx1
0
73
Drupal Camp Cebu 2017
fusionx1
0
87
Redis at Beercon
fusionx1
0
62
Drupal 8 in a nutshell at TechCaravan
fusionx1
0
79
Pantheon Terminus
fusionx1
0
110
International Open Data Day 2016
fusionx1
0
57
Drupal Deployment Automation using AWS Elastic Beanstalk and Docker
fusionx1
3
1.3k
Drupal Security
fusionx1
1
110
Drupal Automation using OpenStack
fusionx1
0
330
Other Decks in Technology
See All in Technology
名古屋の市バスGTFS-JPデータ×スガキヤ 最寄りバス停検索をAmazon ElastiCache Serverless for Valkeyで最適化する
usanchuu
1
350
Bill One 開発エンジニア 紹介資料
sansan33
PRO
7
19k
新しい SLO が良い感じにハマっている話
z63d
5
2.1k
ブラウザ研修 2026
recruitengineers
PRO
4
610
修正PRを食べてレビュースキルが賢くなる:Claude Codeによる自己改善サイクル
yuyaumetsu
5
1.3k
SnowflakeCoCoでデータエンジニアリング!
foursue
0
180
攻撃と防御で学ぶAI時代のプロダクトセキュリティ演習
recruitengineers
PRO
2
460
取引先から届く 「セキュリティチェックシート」の読み解き方
kamadamakoto
0
120
AI駆動開発は個人技からチーム戦へ:組織でAIを使いこなすための実践設計
moongift
PRO
0
460
【CEDEC2026】『GRANBLUE FANTASY: Relink - Endless Ragnarok』のバトル制作事例 ~最高のキャラゲーを目指して~
cygames
PRO
0
200
モノリス Rails でも日中に rails db:migrate を走らせたい! / Daytime rails db:migrate on Monolithic Rails!
euglena1215
4
510
社内の7割が使うデータ基盤を、 データチーム2人で回すためにやったこと
koh_yoshi
4
510
Featured
See All Featured
Ethics towards AI in product and experience design
skipperchong
2
340
Designing Experiences People Love
moore
143
24k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
460
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
240
Building an army of robots
kneath
306
46k
A better future with KSS
kneath
240
18k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
290
[SF Ruby Conf 2025] Rails X
palkan
2
1.2k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Prompt Engineering for Job Search
mfonobong
0
400
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
380
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