Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40077 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32624 invoked from network); 24 Aug 2008 16:55:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2008 16:55:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=arnaud.lb@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=arnaud.lb@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.182.188 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: arnaud.lb@gmail.com X-Host-Fingerprint: 64.233.182.188 nf-out-0910.google.com Received: from [64.233.182.188] ([64.233.182.188:5016] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/72-22001-76291B84 for ; Sun, 24 Aug 2008 12:55:03 -0400 Received: by nf-out-0910.google.com with SMTP id b11so574872nfh.13 for ; Sun, 24 Aug 2008 09:55:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=cJ7IlI3WYKdZ1oTzQOUFyIg4j5mU1rFMprOh+Ru16Uk=; b=TkULDrRQDWay+1KASq3aSTTED4T+ZTqIfReHR6nOLX4l7nji42ZW3csD7S+FzrczVA z4+reGz4dlvJ3jRNRl3kCs55ubQS54Iagygb0k2oAouxcYDwSDGBujne6RVb4XjTS4TK YomaiqhvzPeULTSlAvfACrYN9Jirfwe5KAWvA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=gjpaj/f6Mvfi8yg8eY2qS0y8j8JhIcQ2Z/2QFq/rDhlw6I+RJdgZztgOAzSQWzrHvj yf76759PoGv64tQi5JNOEVnD/5ERXvN+YbGgu+9iwPF5GuupK/JFOfppH5z5FdDx+ttf lUBPN7fkbn2WP1C0JlGZzLpiFkzRZN90c7M3M= Received: by 10.103.214.8 with SMTP id r8mr2238833muq.64.1219596900420; Sun, 24 Aug 2008 09:55:00 -0700 (PDT) Received: from 207-177-41-213.getmyip.com ( [213.41.177.207]) by mx.google.com with ESMTPS id u9sm20659368muf.9.2008.08.24.09.54.58 (version=SSLv3 cipher=RC4-MD5); Sun, 24 Aug 2008 09:54:59 -0700 (PDT) To: internals@lists.php.net Date: Sun, 24 Aug 2008 18:52:48 +0200 User-Agent: KMail/1.10.0 (Linux/2.6.26-noch; KDE/4.1.0; i686; ; ) Cc: "William A. Rowe, Jr." References: <48AF106C.2050404@rowe-clan.net> In-Reply-To: <48AF106C.2050404@rowe-clan.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200808241852.48656.arnaud.lb@gmail.com> Subject: Re: [PHP-DEV] Something to ponder on ZTS/TSRM From: arnaud.lb@gmail.com (Arnaud Le Blanc) 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