3 ms·
There are interesting projects such as https://github.com/php-pm/php-pm https://github.com/php-pm/php-pm which sets up a pool of 'warmed' workers to speed this
by andrewmackrodt 9y ago
There are interesting projects such as https://github.com/php-pm/php-pm https://github.com/php-pm/php-pm which sets up a pool of 'warmed' workers to speed this up; I've never used that particular project in production but the approach seems reasonable, many of us are probably already handling background jobs using a similar architecture.
- amq 9y agoI'm using php-fpm with all production services since 2012 (mainly with nginx, but also with apache), never experienced any problems, so I'd highly recommend trying it out.
- andrewmackrodt 9y agophp-pm is very different to fpm, imagine running a heavy framework like laravel where it can take 100 ms to bootstrap a request; why not use a worker pool and delegate the request to it? that's php-pm.