Академический Документы
Профессиональный Документы
Культура Документы
Igor Seletskiy,
CEO, CloudLinux
Is the topic still relevant?
Cloud vs Cluster
SAN vs NAS
Single server CP vs multi-server CP
VPS vs Shared Hosting
Scaling a site beyond single server
Cloud & Shared Hosting
Easy migrations
SAN ability to move to new hardware instantly
Grow your servers as needed
Out of the box CP (cPanel, Plesk)
Cloud Pitfalls
SAN
IO performance
Single point of failure
FSCK is still here
Hypervisor issues
Mail
NFS Shared Storage DB
Clustering - Benefits
Fault tolerance
No single point of failure
Scalability
Simplified backups
Clustering - Pitfalls
Complexity
Software failures
Configuration issues
Human Errors
Monitoring
Shared storage
No good control panel
Expensive
Shared Storage NFS is slow
No alternatives to NFS
GlusterFS, Lustre, etc
Sessions
Where to store?
Memcache
Disk
Session affinity
Single server CP vs cluster CP
Cluster
No NFS (no shared storage)
Fully compatible with cPanel
On Demand high availability
Site scalability beyond single server
General Arch
LB
cPanel Servers INTERNET
Web Appliances
C&C server
NGINX NGINX
C&C
1:1 NAT
Enable account for high availability
cPanel
WA Acc 1 WA
Acc 2
Acc 3
Acc 4
Web Appliance
NGINX
C&C
WA WA
C2A1 C1A1
C1A2 C1A2
Web Appliance
Mostly reads
Writes are rare
Locks are rare, can be costly
Locks can be costly
Resolve conflicts in favor of any
Other Components
MySQL
Mail
Future