Re: PHP vs PHP NTS benackmark (win32)

From: Date: Thu, 17 Jul 2008 15:42:11 +0000
Subject: Re: PHP vs PHP NTS benackmark (win32)
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-39057@lists.php.net to get a copy of this message
Hi!
a, what are the ramifications of having to run php without threading when we live in a world that's increasingly moving towards multi-core/multi- CPU systems?
I'd say next to none, since multi-CPU systems are perfectly capable of running multiple processes and PHP lives in the context of the web server where multiple processes are just fine.
b, Is php not missing out here big time?
Not really, even though some cool stuff may be done, but that's probably outside standard threading model.
d, Will threads ever become recommended in/for php?
Unless some serious change happens, I don't see it likely. "Shared nothing" works not too bad.
e, If threads become the norm, will php code have to be written differently to account for threads?
too hypothetical for me :)
f, are there things I can/should be doing to my [production] systems/software-stacks to leverage extra performance for my php code from CPUs with multiple cores (and/or machines with multiple CPUs)?
Have Apache with bigger MaxClients? ;) -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#39057) next »