Server Optimization
Server optimization sets the performance floor for everything else you do in WordPress. This module covers how to size a VPS, tune Linux for throughput, and avoid the common bottlenecks that inflate TTFB under concurrent traffic.
| Lesson | Description |
|---|---|
| Foundation | How OS, web server, PHP, and the database shape request latency |
| VPS Setup Criteria | Practical sizing for vCPU, RAM, and storage based on site type |
| CPU Governor | Keep CPU scaling from adding latency under load |
| HugePages | When HugePages help (and when they hurt) for DB/OPcache workloads |
| Memory Architecture | How WordPress, PHP, and MySQL share RAM in real deployments |
| Memory Limit WP & System | Balance OS/PHP/MySQL memory limits to avoid OOM and swapping |
| ulimit -n | Raise file descriptor limits to prevent connection failures |
| TCP Tweaks | Network kernel tuning for high concurrency |
| I/O Scheduler | Choose a scheduler appropriate for SSD/NVMe storage |