RE: [PHP-DEV] phpng: Refactored PHP Engine with Big Performance Improvement

From: Date: Fri, 09 May 2014 06:32:24 +0000
Subject: RE: [PHP-DEV] phpng: Refactored PHP Engine with Big Performance Improvement
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.internals 
Request: Send a blank email to internals+get-74079@lists.php.net to get a copy of this message
Am 08.05.2014 23:25 schrieb "Zeev Suraski" <zeev@zend.com>: > > 2. I never argued that FastCGI/fpm is faster than mod_php; It's probably > not (it's roughly as quick from my experience). But it's *a lot* more > scalable (in terms of in-machine scalability), since it breaks the 1:1 > mapping between Apache processes and PHP processes. Often, for a typical > setup of with hundreds of Apache children, you could use just several dozen > PHP processes when using FastCGI. Is that really the usual case? For me it's about 90% PHP requests, and the remaining CSS/JS/Image requests wont be sped up a bit by being served through a smaller apache process, because they are already fast anyway. Going FPM would thus mean about double the numberr of processes, and double the number of context switches. best regards Patrick

« previous php.internals (#74079) next »