Course
PHP Performance & Scaling
Production PHP performance from the inside out — PHP-FPM capacity, opcache and JIT, stateless horizontal scaling, async work, layered caching, and profiling under real load.
Reviews
Enrolled members can rate this course.
No reviews yet.
Runtime Under Load
How PHP-FPM, opcache, and JIT really behave when traffic stops being polite.
- 01PHP-FPM's Process Model and Why Workers Are MoneyFPM capacity is a queueing problem, not a vibes problem — learn what each process manager does and how to size workers from memory and latency.24mOpen
- 02FPM Queues, Timeouts, and BackpressureHow listen queues, web-server timeouts, request timeouts, and slow upstreams interact — and how to design failure instead of discovering it.22mOpen
- 03OPcache in Production: The Free Performance You Can Still MisconfigureHow opcode caching works, which settings matter, how deploy invalidation really behaves, and the metrics that prove whether it is healthy.21mOpen
Scaling Architecture
Statelessness, horizontal scaling, caching layers, and asynchronous work.
- 01Horizontal Scaling PHP: Make the App Stateless Before Buying More ServersThe constraints that decide whether ten PHP nodes behave like ten times capacity — sessions, uploads, cron, deploy consistency, and shared state.23mOpen
- 02Caching Layers: Hit Ratio, Stampede Control, and Invalidation Without MagicHow browser, CDN, reverse proxy, object, and database caching fit together — and how to avoid stampedes, stale writes, and cache poisoning.25mOpen
- 03Asynchronous PHP: Queues First, Fibers When They Earn Their KeepThe practical async toolbox — background jobs, workers, retries, event loops, fibers — and why moving work is usually better than doing it concurrently in-request.23mOpen
Production Truth
Profiling real load, capacity testing, observability, and performance incident response.
- 01Profiling PHP Under Real Production LoadUse production-shaped traces, sampling profilers, flame graphs, and system tools to find the actual bottleneck instead of optimizing what looks expensive in development.26mOpen
- 02Load Testing and Capacity Planning That Survive Contact With RealityBuild production-shaped load tests, find knee points safely, and turn measurements into capacity margins instead of benchmark theater.24mOpen
- 03Performance Incident Response and Regression ControlA calm operational playbook for latency incidents — isolate the saturated layer, restore service safely, preserve evidence, and prevent regressions with budgets.22mOpen