wordpress at scale webinar
TRANSCRIPT
![Page 1: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/1.jpg)
Scaling for High Traffic Sites
![Page 2: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/2.jpg)
Who are we?
Drew GortonDirector of Agency and Community Outreach, Pantheon
Jonathan WoldAccounts Director, XWP
Weston RuterTechnology Director, XWP
![Page 3: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/3.jpg)
Why Scale Matters
![Page 4: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/4.jpg)
Today’s Topics
● Page Caching
● Object Caching
● Query Performance
● Algorithm Performance
● Searching for Scale
● Elastic Architecture
● Development and Workflow
● A Real-World Scalable Architecture
![Page 5: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/5.jpg)
Page Caching
![Page 6: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/6.jpg)
Page Caching
![Page 7: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/7.jpg)
Page CachingChallenges & Takeaways
● Cache TTL and Expiration● Fragment caching● Cookies
![Page 8: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/8.jpg)
Today’s Topics
● Page Caching
● Object Caching
● Query Performance
● Algorithm Performance
● Searching for Scale
● Elastic Architecture
● Development and Workflow
● A Real-World Scalable Architecture
![Page 9: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/9.jpg)
Object Caching
An object cache speeds up PHP execution time while lessening the load on the database.
![Page 10: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/10.jpg)
Object CacheChallenges & Takeaways
● Complexity● Invalidation● Optimization● Eviction
![Page 11: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/11.jpg)
Today’s Topics
● Page Caching
● Object Caching
● Query Performance
● Algorithm Performance
● Searching for Scale
● Elastic Architecture
● Development and Workflow
● A Real-World Scalable Architecture
![Page 12: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/12.jpg)
Query Performance
![Page 13: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/13.jpg)
Query PerformanceChallenges & Takeaways
● Query routing● Replication lag● Debuggability● Regressions
![Page 14: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/14.jpg)
Today’s Topics
● Page Caching
● Object Caching
● Query Performance
● Algorithm Performance
● Searching for Scale
● Elastic Architecture
● Development and Workflow
● A Real-World Scalable Architecture
![Page 15: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/15.jpg)
Algorithm Performance
![Page 16: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/16.jpg)
Today’s Topics
● Page Caching
● Object Caching
● Query Performance
● Algorithm Performance
● Searching for Scale
● Elastic Architecture
● Development and Workflow
● A Real-World Scalable Architecture
![Page 17: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/17.jpg)
Searching for Scale
Use a dedicated search index like Apache Solr or ElasticSearch
![Page 18: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/18.jpg)
Searching for Scale
Challenge & Takeaways
● Overriding WP_Query()● Index Rebuilds● Complexity
![Page 19: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/19.jpg)
Today’s Topics
● Page Caching
● Object Caching
● Query Performance
● Algorithm Performance
● Searching for Scale
● Elastic Architecture
● Development and Workflow
● A Real-World Scalable Architecture
![Page 20: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/20.jpg)
Elastic ArchitectureHorizontal Scalability Is the Scalability That Matters
![Page 21: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/21.jpg)
Traditional OptionsShared vs VM vs Cluster
![Page 22: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/22.jpg)
Traditional Options at ScaleIn Real Life
![Page 23: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/23.jpg)
Next Generation ArchitectureThe Same Design, Just Add More
![Page 24: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/24.jpg)
Elastic Architecture
Challenges and Takeaways
● Load balancing● Shared media● Consistency
![Page 25: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/25.jpg)
Today’s Topics
● Page Caching
● Object Caching
● Query Performance
● Algorithm Performance
● Searching for Scale
● Elastic Architecture
● Development and Workflow
● A Real-World Scalable Architecture
![Page 26: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/26.jpg)
Development & Workflow
![Page 27: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/27.jpg)
Development & Workflow
![Page 28: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/28.jpg)
Development Workflow
Challenges & Takeaways
● Environmental consistency● Site configuration● Local development● Automation
![Page 29: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/29.jpg)
Today’s Topics
● Page Caching
● Object Caching
● Query Performance
● Algorithm Performance
● Searching for Scale
● Elastic Architecture
● Development and Workflow
● A Real-World Scalable Architecture
![Page 30: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/30.jpg)
A modern stack:
● Reverse proxy (e.g. Varnish)● Apache or Nginx● PHP● Memcached or Redis● MySQL and Database
Replication● ElasticSearch or Solr● Linux● Version control (Git)● CI server
![Page 31: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/31.jpg)
If you don’t want to do it all on your own...
![Page 32: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/32.jpg)
Learn more on scalewp.io
![Page 33: WordPress at Scale Webinar](https://reader031.vdocuments.net/reader031/viewer/2022030306/586fdbfe1a28ab18428b6323/html5/thumbnails/33.jpg)
Questions?
@dgorton@westonruter@sirjonathan