Why is PHP often criticized for its scalability, and how would you argue against that notion in a modern context?
Last updated
The criticism stems from PHP's per-request model (state rebuilt on every hit) and slow PHP 5-era runtimes.
That "shared-nothing" design (no state shared between requests) actually enables easy horizontal scaling: just add stateless workers behind a load balancer.
PHP 7/8,
JIT,OPcache, and persistent workers (Swoole,RoadRunner,FrankenPHP) closed the speed gap. Real bottlenecks are usually the database.