Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40068 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56730 invoked from network); 22 Aug 2008 19:16:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Aug 2008 19:16:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=wrowe@rowe-clan.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=wrowe@rowe-clan.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain rowe-clan.net from 64.202.165.29 cause and error) X-PHP-List-Original-Sender: wrowe@rowe-clan.net X-Host-Fingerprint: 64.202.165.29 smtpauth17.prod.mesa1.secureserver.net Received: from [64.202.165.29] ([64.202.165.29:54920] helo=smtpauth17.prod.mesa1.secureserver.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/03-07001-F601FA84 for ; Fri, 22 Aug 2008 15:16:00 -0400 Received: (qmail 11215 invoked from network); 22 Aug 2008 19:15:57 -0000 Received: from unknown (98.212.183.150) by smtpauth17.prod.mesa1.secureserver.net (64.202.165.29) with ESMTP; 22 Aug 2008 19:15:57 -0000 Message-ID: <48AF106C.2050404@rowe-clan.net> Date: Fri, 22 Aug 2008 14:15:56 -0500 User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Something to ponder on ZTS/TSRM From: wrowe@rowe-clan.net ("William A. Rowe, Jr.") 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.