Re: [PHP-DEV] New PHP SAPI for Nginx

2015-06-26 Thread Chris Wright
On 26 June 2015 at 06:39, Rasmus Lerdorf wrote: > On 06/25/2015 01:31 PM, S.A.N wrote: > > New versions Nginx, implement thread pools, > > http://nginx.com/blog/thread-pools-boost-performance-9x/ > > > > I think this is a good opportunity to write a Nginx module (PHP SAPI) > > which is to process

Re: [PHP-DEV] New PHP SAPI for Nginx

2015-06-26 Thread S.A.N
>Tons of things in PHP or in libraries called by PHP are > blocking Yes, it's not a problem, thread pools for use blocking processes do not block the main process Nginx. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] New PHP SAPI for Nginx

2015-06-25 Thread Rasmus Lerdorf
On 06/25/2015 01:31 PM, S.A.N wrote: > New versions Nginx, implement thread pools, > http://nginx.com/blog/thread-pools-boost-performance-9x/ > > I think this is a good opportunity to write a Nginx module (PHP SAPI) > which is to process requests for PHP scripts in processes Nginx. > > Quality ad

Re: [PHP-DEV] New PHP SAPI for Nginx

2015-06-25 Thread S.A.N
> If there is someone willing to implement this (and maintain it), I > don't see any reason for why this could not be accepted into PHP. I > would expect such, if implemented by someone, to first be available in > 7.1.0, although we could do exceptions like we did for FPM which came > in 5.3.3 or s

Re: [PHP-DEV] New PHP SAPI for Nginx

2015-06-25 Thread Kalle Sommer Nielsen
Hi 2015-06-25 22:31 GMT+02:00 S.A.N : > New versions Nginx, implement thread pools, > http://nginx.com/blog/thread-pools-boost-performance-9x/ > > I think this is a good opportunity to write a Nginx module (PHP SAPI) > which is to process requests for PHP scripts in processes Nginx. > > Quality ad