Re: Something to ponder on ZTS/TSRM

From: Date: Sun, 24 Aug 2008 16:52:48 +0000
Subject: Re: Something to ponder on ZTS/TSRM
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-40077@lists.php.net to get a copy of this message
Hi, On Friday 22 August 2008 21:15:56 William A. Rowe, Jr. wrote: > As far as the future direction of embedded PHP (and let's agree here > we aren't talking about every application, for mass vhosters some > fcgi or suid flavor of PHP is going to remain a better choice, and > for others, so we can avoid that debate)... > > The next direction for server worker pools will likely be a threadless > connection; while waiting for your POST body the php engine environment > will most efficiently be parked and resumed on another thread. (Some > code has been started in this direction at httpd although there are > no corresponding 'engine' hacks yet for embedded language systems.) > > So although the new patches look great for a threading application, > keep in mind that a more traditional zts mode may be worthwhile to > retain. The patch, if it is included, does not remove the current ZTS mode ;) However the current mode does not guaranties that PHP will work if a request is started in a thread and continued in an other. If support for that is added in the future (TSRM already has a set of functions to allow that), this can work with the patch too. Regards, Arnaud

« previous php.internals (#40077) next »