Scaling out with WordPress

Konstantin Kovshenin
Konstantin KovsheninDeveloper en Automattic
Scaling out
with WordPress
Konstantin Kovshenin
Scaling out with WordPress
Shared Hosting
Shared Hosting
Shared Hosting
Shared Hosting
Web Server
Database Server
Mail Server
Making Changes
File Manager
WordPress Dashboard
FTP/SSH
Scaling out with WordPress
Vertical Scaling
More CPU
More RAM
More Disk
Dedicated, VPS
But we’re in the
CLOUD now!
Same sh*t…
Vertical Scaling
Easy
Downtime
Physical limitations
Some things don’t scale
One server
Horizontal Scaling
Scaling out with WordPress
Just
Just add
Just add more
Just add more SERVERS!
Horizontal Scaling
Less limitations
High availability & fault tolerance
Cost efficiency
Complexity
Scaling out with WordPress
Scaling out with WordPress
Web Server
Web Server
Database Server
dev.mysql.com
mariadb.org
Primary
Replica
dev.mysql.com/doc/refman/8.0/en/replication.html
mariadb.com/kb/en/standard-replication
Database
HyperDB
LudicrousDB
ProxySQL
MaxScale
github.com/automattic/hyperdb
github.com/stuttter/ludicrousdb
proxysql.com/
mariadb.com/kb/en/maxscale/
Scaling out with WordPress
en.wikipedia.org/wiki/Network_File_System
gluster.org
ceph.io
github.com/humanmade/S3-Uploads
github.com/s3fs-fuse/s3fs-fuse
aws.amazon.com/storagegateway/file/s3/
Media
NFS
GlusterFS
Ceph
S3 / S3 Uploads / FUSE / Gateway
Load Balancer
Scaling out with WordPress
nginx.org
haproxy.org
varnish-cache.org
Load Balancing
Nginx
HAProxy
Varnish
2x Load Balancers
2x Web Servers
2x Database Server
2x Storage Servers
github.com/features/actions
circleci.com
capistranorb.com
ansible.com
fabfile.org
aws.amazon.com/codestar
cloud.google.com/build
Deployment
GitHub Actions, CircleCI
Capistrano, Ansible, Fabric
AWS CodeBuild, CodeDeploy
Google Cloud Build/Deploy
Backups
Source control
Shared storage backups
Database snapshots
Configuration backups
vs
£200
£1600
vs
£200
£1600
Latency
Scalability ≠ Performance
vs
£200
£1600
1 RPM
vs
£200
£1600
50k RPM
Object Caching
Redis
Memcache
2x
github.com/pantheon-systems/wp-redis
github.com/Automattic/wp-memcached
Page Caching
Batcache
Cache at LB
Cache at CDN
github.com/Automattic/batcache
nginx.org/en/docs/http/ngx_http_proxy_module.html
Cron Jobs
Cavalcade
ActionScheduler
1x
github.com/humanmade/Cavalcade
actionscheduler.org
Emails
Postfix
Exim
Amazon SES
1x
postfix.org
exim.org
aws.amazon.com/ses
elastic.co/elastic-stack
Logging
Elasticsearch
Logstash
Kibana
3x
newrelic.com
grafana.com/products/cloud
datadoghq.com
grafana.com/oss
nagios.org
munin-monitoring.org
Monitoring
Grafana
Nagios
Munin
1x
New Relic
Grafana Cloud
Datadog
cloud.google.com/logging
learn.microsoft.com/en-us/azure/azure-monitor/overview
aws.amazon.com/cloudwatch
Cloud
Google Cloud Logging
Microsoft Azure Monitor
Amazon CloudWatch
Containers
Scaling out with WordPress
Just
Just add
Just add more
Just add more CONTAINERS!
Getting Started
VirtualBox
KVM, virt-manager
XenServer
Docker Compose, Minikube
virtualbox.org
en.wikipedia.org/wiki/Kernel-based_Virtual_Machine
virt-manager.org
xenserver.com
docs.docker.com/compose
minikube.sigs.k8s.io/docs
kovshenin@gmail.com
konstantin.blog
humanmade.com
Photos from unsplash.com
Icons from flaticon.com
fin
1 de 55

Recomendados

Rock Solid WordPress por
Rock Solid WordPressRock Solid WordPress
Rock Solid WordPressErik Osterman
376 vistas22 diapositivas
Optimizing WordPress for Performance - WordCamp Houston por
Optimizing WordPress for Performance - WordCamp HoustonOptimizing WordPress for Performance - WordCamp Houston
Optimizing WordPress for Performance - WordCamp HoustonChris Olbekson
605 vistas28 diapositivas
Caching 101 por
Caching 101Caching 101
Caching 101Andy Melichar
262 vistas41 diapositivas
Subversion @ JUG Milano 11 dic 2009 por
Subversion @ JUG Milano 11 dic 2009Subversion @ JUG Milano 11 dic 2009
Subversion @ JUG Milano 11 dic 2009Andrea Francia
1.3K vistas25 diapositivas
Alfresco WCM For High Scalability por
Alfresco WCM For High ScalabilityAlfresco WCM For High Scalability
Alfresco WCM For High ScalabilityAlfresco Software
2.1K vistas19 diapositivas
Advanced Web Hosting por
Advanced Web HostingAdvanced Web Hosting
Advanced Web HostingOVHcloud
2.9K vistas42 diapositivas

Más contenido relacionado

Similar a Scaling out with WordPress

DrupalCampLA 2011: Drupal backend-performance por
DrupalCampLA 2011: Drupal backend-performanceDrupalCampLA 2011: Drupal backend-performance
DrupalCampLA 2011: Drupal backend-performanceAshok Modi
3.8K vistas49 diapositivas
Speeding up your WordPress site - WordCamp Hamilton 2015 por
Speeding up your WordPress site - WordCamp Hamilton 2015Speeding up your WordPress site - WordCamp Hamilton 2015
Speeding up your WordPress site - WordCamp Hamilton 2015Alan Lok
1.2K vistas24 diapositivas
WordPress Development Environments por
WordPress Development Environments WordPress Development Environments
WordPress Development Environments Ohad Raz
5.7K vistas35 diapositivas
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014 por
Make WordPress Fly With Virtual Server Hosting  - WordCamp Sydney 2014Make WordPress Fly With Virtual Server Hosting  - WordCamp Sydney 2014
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014Vlad Lasky
3.9K vistas31 diapositivas
Advantages of cPanel-based LiteSpeed Hosting por
Advantages of cPanel-based LiteSpeed HostingAdvantages of cPanel-based LiteSpeed Hosting
Advantages of cPanel-based LiteSpeed HostingLisa Clarke
9.2K vistas23 diapositivas
Azure Virtual Machines Deployment Scenarios por
Azure Virtual Machines Deployment ScenariosAzure Virtual Machines Deployment Scenarios
Azure Virtual Machines Deployment ScenariosBrian Benz
1.8K vistas47 diapositivas

Similar a Scaling out with WordPress(20)

DrupalCampLA 2011: Drupal backend-performance por Ashok Modi
DrupalCampLA 2011: Drupal backend-performanceDrupalCampLA 2011: Drupal backend-performance
DrupalCampLA 2011: Drupal backend-performance
Ashok Modi3.8K vistas
Speeding up your WordPress site - WordCamp Hamilton 2015 por Alan Lok
Speeding up your WordPress site - WordCamp Hamilton 2015Speeding up your WordPress site - WordCamp Hamilton 2015
Speeding up your WordPress site - WordCamp Hamilton 2015
Alan Lok1.2K vistas
WordPress Development Environments por Ohad Raz
WordPress Development Environments WordPress Development Environments
WordPress Development Environments
Ohad Raz5.7K vistas
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014 por Vlad Lasky
Make WordPress Fly With Virtual Server Hosting  - WordCamp Sydney 2014Make WordPress Fly With Virtual Server Hosting  - WordCamp Sydney 2014
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014
Vlad Lasky3.9K vistas
Advantages of cPanel-based LiteSpeed Hosting por Lisa Clarke
Advantages of cPanel-based LiteSpeed HostingAdvantages of cPanel-based LiteSpeed Hosting
Advantages of cPanel-based LiteSpeed Hosting
Lisa Clarke9.2K vistas
Azure Virtual Machines Deployment Scenarios por Brian Benz
Azure Virtual Machines Deployment ScenariosAzure Virtual Machines Deployment Scenarios
Azure Virtual Machines Deployment Scenarios
Brian Benz1.8K vistas
High Availability PHP Clusters in the Cloud por RightScale
High Availability PHP Clusters in the CloudHigh Availability PHP Clusters in the Cloud
High Availability PHP Clusters in the Cloud
RightScale569 vistas
70-412 Objectives por pupeadra
70-412 Objectives70-412 Objectives
70-412 Objectives
pupeadra446 vistas
WordPress At Scale. WordCamp Dhaka 2019 por Anam Ahmed
WordPress At Scale. WordCamp Dhaka 2019WordPress At Scale. WordCamp Dhaka 2019
WordPress At Scale. WordCamp Dhaka 2019
Anam Ahmed335 vistas
VMware vFabric Data Director for DB as a Service por VMware vFabric
VMware vFabric Data Director for DB as a ServiceVMware vFabric Data Director for DB as a Service
VMware vFabric Data Director for DB as a Service
VMware vFabric1.2K vistas
I Can Haz More Performanz? por Andy Melichar
I Can Haz More Performanz?I Can Haz More Performanz?
I Can Haz More Performanz?
Andy Melichar2.2K vistas
Just Another Word Press Weblog But More Cloudy por Maarten Balliauw
Just Another Word Press Weblog   But More CloudyJust Another Word Press Weblog   But More Cloudy
Just Another Word Press Weblog But More Cloudy
Maarten Balliauw2.6K vistas
Easing ASP.NET Web and SQL Server Database Deployment with VS 2010 and MsDeploy por Eduardo Castro
Easing ASP.NET Web and  SQL Server Database Deployment withVS 2010 and MsDeployEasing ASP.NET Web and  SQL Server Database Deployment withVS 2010 and MsDeploy
Easing ASP.NET Web and SQL Server Database Deployment with VS 2010 and MsDeploy
Eduardo Castro911 vistas
Upgrade, Migrate and Virtualisation with SharePoint 2010 por Alan Richards
Upgrade, Migrate and Virtualisation with SharePoint 2010Upgrade, Migrate and Virtualisation with SharePoint 2010
Upgrade, Migrate and Virtualisation with SharePoint 2010
Alan Richards785 vistas
Word press workflows and gulp por Eli McMakin
Word press workflows and gulpWord press workflows and gulp
Word press workflows and gulp
Eli McMakin1.1K vistas
WordPress: Performance, Optimization & Scaling por Pete Mall
WordPress: Performance, Optimization & ScalingWordPress: Performance, Optimization & Scaling
WordPress: Performance, Optimization & Scaling
Pete Mall2.3K vistas

Más de Konstantin Kovshenin

Memory Management in WordPress por
Memory Management in WordPressMemory Management in WordPress
Memory Management in WordPressKonstantin Kovshenin
1.5K vistas60 diapositivas
Пожиратели памяти в WordPress por
Пожиратели памяти в WordPressПожиратели памяти в WordPress
Пожиратели памяти в WordPressKonstantin Kovshenin
12.4K vistas60 diapositivas
7 убийц производительности WordPress por
7 убийц производительности WordPress7 убийц производительности WordPress
7 убийц производительности WordPressKonstantin Kovshenin
2.7K vistas42 diapositivas
WordPress под нагрузкой: масштабирование и отказоустойчивость por
WordPress под нагрузкой: масштабирование и отказоустойчивостьWordPress под нагрузкой: масштабирование и отказоустойчивость
WordPress под нагрузкой: масштабирование и отказоустойчивостьKonstantin Kovshenin
3.1K vistas51 diapositivas
Будущее WordPress (SPB, 2014) por
Будущее WordPress (SPB, 2014)Будущее WordPress (SPB, 2014)
Будущее WordPress (SPB, 2014)Konstantin Kovshenin
718 vistas54 diapositivas
Road to Platform @ WordPress.com VIP Workshop 2014 por
Road to Platform @ WordPress.com VIP Workshop 2014Road to Platform @ WordPress.com VIP Workshop 2014
Road to Platform @ WordPress.com VIP Workshop 2014Konstantin Kovshenin
811 vistas64 diapositivas

Más de Konstantin Kovshenin(16)

Пожиратели памяти в WordPress por Konstantin Kovshenin
Пожиратели памяти в WordPressПожиратели памяти в WordPress
Пожиратели памяти в WordPress
Konstantin Kovshenin12.4K vistas
7 убийц производительности WordPress por Konstantin Kovshenin
7 убийц производительности WordPress7 убийц производительности WordPress
7 убийц производительности WordPress
Konstantin Kovshenin2.7K vistas
WordPress под нагрузкой: масштабирование и отказоустойчивость por Konstantin Kovshenin
WordPress под нагрузкой: масштабирование и отказоустойчивостьWordPress под нагрузкой: масштабирование и отказоустойчивость
WordPress под нагрузкой: масштабирование и отказоустойчивость
Konstantin Kovshenin3.1K vistas
Как повысить скорость вашего сайта на WordPress por Konstantin Kovshenin
Как повысить скорость вашего сайта на WordPressКак повысить скорость вашего сайта на WordPress
Как повысить скорость вашего сайта на WordPress
Konstantin Kovshenin3.5K vistas
Things I Wish I Had Known Before Developing a WordPress Theme por Konstantin Kovshenin
Things I Wish I Had Known Before Developing a WordPress ThemeThings I Wish I Had Known Before Developing a WordPress Theme
Things I Wish I Had Known Before Developing a WordPress Theme
Konstantin Kovshenin3.6K vistas
Основые безопасности WordPress por Konstantin Kovshenin
Основые безопасности WordPressОсновые безопасности WordPress
Основые безопасности WordPress
Konstantin Kovshenin2.5K vistas
7 Tips for Better WordPress Theme Development por Konstantin Kovshenin
7 Tips for Better WordPress Theme Development7 Tips for Better WordPress Theme Development
7 Tips for Better WordPress Theme Development
Konstantin Kovshenin12.8K vistas

Último

MVP and prioritization.pdf por
MVP and prioritization.pdfMVP and prioritization.pdf
MVP and prioritization.pdfrahuldharwal141
39 vistas8 diapositivas
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue por
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueShapeBlue
139 vistas15 diapositivas
Transcript: Redefining the book supply chain: A glimpse into the future - Tec... por
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...Transcript: Redefining the book supply chain: A glimpse into the future - Tec...
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...BookNet Canada
41 vistas16 diapositivas
Future of Indian ConsumerTech por
Future of Indian ConsumerTechFuture of Indian ConsumerTech
Future of Indian ConsumerTechKapil Khandelwal (KK)
36 vistas68 diapositivas
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De... por
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...Moses Kemibaro
35 vistas38 diapositivas
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue por
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlueCloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlueShapeBlue
137 vistas13 diapositivas

Último(20)

CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue por ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
ShapeBlue139 vistas
Transcript: Redefining the book supply chain: A glimpse into the future - Tec... por BookNet Canada
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...Transcript: Redefining the book supply chain: A glimpse into the future - Tec...
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...
BookNet Canada41 vistas
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De... por Moses Kemibaro
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Moses Kemibaro35 vistas
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue por ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlueCloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
ShapeBlue137 vistas
Ransomware is Knocking your Door_Final.pdf por Security Bootcamp
Ransomware is Knocking your Door_Final.pdfRansomware is Knocking your Door_Final.pdf
Ransomware is Knocking your Door_Final.pdf
Security Bootcamp98 vistas
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023 por BookNet Canada
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
BookNet Canada44 vistas
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda... por ShapeBlue
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
ShapeBlue164 vistas
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... por The Digital Insurer
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... por ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue171 vistas
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... por ShapeBlue
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
ShapeBlue129 vistas
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f... por TrustArc
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc176 vistas
Business Analyst Series 2023 - Week 4 Session 7 por DianaGray10
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7
DianaGray10146 vistas
"Running students' code in isolation. The hard way", Yurii Holiuk por Fwdays
"Running students' code in isolation. The hard way", Yurii Holiuk "Running students' code in isolation. The hard way", Yurii Holiuk
"Running students' code in isolation. The hard way", Yurii Holiuk
Fwdays36 vistas
LLMs in Production: Tooling, Process, and Team Structure por Aggregage
LLMs in Production: Tooling, Process, and Team StructureLLMs in Production: Tooling, Process, and Team Structure
LLMs in Production: Tooling, Process, and Team Structure
Aggregage57 vistas
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue por ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
ShapeBlue207 vistas
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti... por ShapeBlue
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
ShapeBlue141 vistas
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or... por ShapeBlue
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
ShapeBlue199 vistas

Scaling out with WordPress