SlideShare a Scribd company logo
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

More Related Content

PDF
Liz Quilty – Security, Scaling & High End Hosting for WordPress sites
PPTX
Moving to the Cloud: AWS, Zend, RightScale
PDF
High Performance WordPress II
PDF
Scaling Pinterest
PPTX
AWS 101 Guide
PPTX
iMobileMagic Teck Talk Scale Up
PDF
Containers: Don't Skeu Them Up. Use Microservices Instead.
PDF
Containers: Don't Skeu Them Up, Use Microservices Instead
Liz Quilty – Security, Scaling & High End Hosting for WordPress sites
Moving to the Cloud: AWS, Zend, RightScale
High Performance WordPress II
Scaling Pinterest
AWS 101 Guide
iMobileMagic Teck Talk Scale Up
Containers: Don't Skeu Them Up. Use Microservices Instead.
Containers: Don't Skeu Them Up, Use Microservices Instead

Similar to Scaling out with WordPress (20)

PDF
Lizquilty security scaling highend hosting for wordpress
PPT
20130714 php matsuri - highly available php
PDF
Docker Intro at the Google Developer Group and Google Cloud Platform Meet Up
PDF
A Tale of 2 Systems
PDF
Scaling web application in the Cloud
PDF
Docker and Containers for Development and Deployment — SCALE12X
PPTX
Yow Conference Dec 2013 Netflix Workshop Slides with Notes
PDF
Scaling on DigitalOcean
PDF
Containerization Is More than the New Virtualization
PDF
Scaling WordPress On A Small Budget
PDF
Docker and-containers-for-development-and-deployment-scale12x
PPTX
Introduction to amazon web services for developers
PDF
OpenCms Days 2012 - The Dispatch - Running OpenCms 8 on Amazon cloud services
KEY
Cloud Computing & Scaling Web Apps
PDF
WordCamp IL 2016 - WordPress Scale on AWS
PDF
Translating from legacy to cloud
PPTX
PyCon Russia 2014 - Auto Scale in the Cloud
PDF
Alexander Torosh "Projects scaling with Amazon Web Services"
PPSX
Auto Scaling for Multi-Tier Containers Topology
PDF
Managing containers at scale
Lizquilty security scaling highend hosting for wordpress
20130714 php matsuri - highly available php
Docker Intro at the Google Developer Group and Google Cloud Platform Meet Up
A Tale of 2 Systems
Scaling web application in the Cloud
Docker and Containers for Development and Deployment — SCALE12X
Yow Conference Dec 2013 Netflix Workshop Slides with Notes
Scaling on DigitalOcean
Containerization Is More than the New Virtualization
Scaling WordPress On A Small Budget
Docker and-containers-for-development-and-deployment-scale12x
Introduction to amazon web services for developers
OpenCms Days 2012 - The Dispatch - Running OpenCms 8 on Amazon cloud services
Cloud Computing & Scaling Web Apps
WordCamp IL 2016 - WordPress Scale on AWS
Translating from legacy to cloud
PyCon Russia 2014 - Auto Scale in the Cloud
Alexander Torosh "Projects scaling with Amazon Web Services"
Auto Scaling for Multi-Tier Containers Topology
Managing containers at scale
Ad

More from Konstantin Kovshenin (16)

PDF
Memory Management in WordPress
PDF
Пожиратели памяти в WordPress
PDF
7 убийц производительности WordPress
PDF
WordPress под нагрузкой: масштабирование и отказоустойчивость
PDF
Будущее WordPress (SPB, 2014)
PDF
Road to Platform @ WordPress.com VIP Workshop 2014
PDF
Будущее WordPress
PDF
Templating WordPress
PDF
Как повысить скорость вашего сайта на WordPress
PDF
Things I Wish I Had Known Before Developing a WordPress Theme
PDF
Основые безопасности WordPress
PDF
Цикл разработки WordPress
PDF
7 Tips for Better WordPress Theme Development
PDF
The Settings API
PDF
Секреты WP_Query
Memory Management in WordPress
Пожиратели памяти в WordPress
7 убийц производительности WordPress
WordPress под нагрузкой: масштабирование и отказоустойчивость
Будущее WordPress (SPB, 2014)
Road to Platform @ WordPress.com VIP Workshop 2014
Будущее WordPress
Templating WordPress
Как повысить скорость вашего сайта на WordPress
Things I Wish I Had Known Before Developing a WordPress Theme
Основые безопасности WordPress
Цикл разработки WordPress
7 Tips for Better WordPress Theme Development
The Settings API
Секреты WP_Query
Ad

Recently uploaded (20)

PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Cloud computing and distributed systems.
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPT
Teaching material agriculture food technology
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
MYSQL Presentation for SQL database connectivity
Reach Out and Touch Someone: Haptics and Empathic Computing
Review of recent advances in non-invasive hemoglobin estimation
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Cloud computing and distributed systems.
Per capita expenditure prediction using model stacking based on satellite ima...
NewMind AI Weekly Chronicles - August'25 Week I
Advanced methodologies resolving dimensionality complications for autism neur...
Unlocking AI with Model Context Protocol (MCP)
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Understanding_Digital_Forensics_Presentation.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Teaching material agriculture food technology
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Spectral efficient network and resource selection model in 5G networks
The Rise and Fall of 3GPP – Time for a Sabbatical?

Scaling out with WordPress