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
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
66
Drupal Camp Cebu 2017
fusionx1
0
81
Redis at Beercon
fusionx1
0
57
Drupal 8 in a nutshell at TechCaravan
fusionx1
0
79
Pantheon Terminus
fusionx1
0
94
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
97
Drupal Automation using OpenStack
fusionx1
0
330
Other Decks in Technology
See All in Technology
開発チームとQAエンジニアの新しい協業モデル -年末調整開発チームで実践する【QAリード施策】-
qa
0
370
脳が溶けた話 / Melted Brain
keisuke69
1
1.1k
AI時代のIssue駆動開発のススメ
moongift
PRO
0
280
GitHub Advanced Security × Defender for Cloudで開発とSecOpsのサイロを超える: コードとクラウドをつなぐ、開発プラットフォームのセキュリティ
yuriemori
1
110
Bref でサービスを運用している話
sgash708
0
200
OpenClawでPM業務を自動化
knishioka
1
300
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
DMBOKを使ってレバレジーズのデータマネジメントを評価した
leveragestech
0
440
AWS Systems Managerのハイブリッドアクティベーションを使用したガバメントクラウド環境の統合管理
toru_kubota
1
180
Embeddings : Symfony AI en pratique
lyrixx
0
370
GitHub Actions侵害 — 相次ぐ事例を振り返り、次なる脅威に備える
flatt_security
8
5.6k
「お金で解決」が全てではない!大規模WebアプリのCI高速化 #phperkaigi
stefafafan
5
2.4k
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.4k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
91
Measuring & Analyzing Core Web Vitals
bluesmoon
9
790
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
870
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
120
Git: the NoSQL Database
bkeepers
PRO
432
67k
Darren the Foodie - Storyboard
khoart
PRO
3
3k
New Earth Scene 8
popppiees
1
1.8k
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