Why is PHP traditionally not 'async' by default, and what are the tradeoffs of using tools like Swoole or RoadRunner to achieve concurrency?

Last updated 15 June 2026

  • PHP uses a share-nothing, synchronous model (PHP-FPM): each request boots fresh, blocks on I/O, then dies. This is simple and crash-isolated but leaves workers idle while waiting.

  • Swoole (C extension with event loop and coroutines) and RoadRunner (Go server keeping PHP workers warm) avoid per-request bootstrap and enable concurrent I/O for big throughput gains.

  • The cost: long-lived workers let state persist, so memory leaks and stale globals become real bugs. Many libraries assume share-nothing, and debugging gets harder.

  • https://www.reddit.com/r/PHP/comments/1p6bprs/why_dont_major_companies_invest_in_phps_evolution/
  • https://www.reddit.com/r/PHP/comments/1bp7tfh/what_is_the_future_of_php/
All PHP interview questions