Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65485 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59007 invoked from network); 30 Jan 2013 10:40:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2013 10:40:30 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.172 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.217.172 mail-lb0-f172.google.com Received: from [209.85.217.172] ([209.85.217.172:60037] helo=mail-lb0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/39-09318-C98F8015 for ; Wed, 30 Jan 2013 05:40:29 -0500 Received: by mail-lb0-f172.google.com with SMTP id n8so1963650lbj.3 for ; Wed, 30 Jan 2013 02:40:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=K7XihoZY1DP4lFfWo+WEgFFvisJ1ZKpXMj3MthxG3bc=; b=XgJxHFrhQJ5ezTB70nn1Zxv0sXvjZyqJCBg6NiCcZ5OuRAPf00y0lwAzMK2pDfC5mW 50d42WDU1s47D2ARcpb4oxed6Zzh6Igkwc3GQY6ANoTWbU49z96ggZC5+lfpQMl3PQsG E9DyMP0ruNUA/9AbgF1Qy9kJjmYdFPcItz4ZJm4I19q22CH2pXD6l3pSUmu2IohWnTjx 8tuPJSySVDCiCTD590lh/nu/L3RNpgj7NLzqu7gVZRn5ySnYzpq8BmFVhNIZildDs4IK cX1NF1xs7faVnMyS/cjqgX8mmJKNdNoEwgAk7yOEAsKA2ihQNppKQlXZ6l2piz7b5E/v yG9w== MIME-Version: 1.0 X-Received: by 10.112.103.167 with SMTP id fx7mr1762987lbb.19.1359542424005; Wed, 30 Jan 2013 02:40:24 -0800 (PST) Received: by 10.112.2.69 with HTTP; Wed, 30 Jan 2013 02:40:23 -0800 (PST) In-Reply-To: <5108F70E.5020007@lsces.co.uk> References: <5108743A.9090705@sugarcrm.com> <5108C1CA.60900@sugarcrm.com> <5108F70E.5020007@lsces.co.uk> Date: Wed, 30 Jan 2013 11:40:23 +0100 Message-ID: To: Lester Caine Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] ZTS - why are you using it? From: pierre.php@gmail.com (Pierre Joye) On Wed, Jan 30, 2013 at 11:33 AM, Lester Caine wrote: > Stas Malyshev wrote: >>> >>> The TS model in php should be redesigned in the next major version, >>> >instead of simply giving it up. >> >> Again, I'd not mind seeing this redesign, but do we have somebody who's >> actually going to do that? > > > Ignoring the problem of 'someone to do it', in this age of multi-core > systems, the idea of sending requests to a database server while building > the page is an area where threading could provide a speed gain in returning > a page? Not really, async queries are way better and easier to deal with. Even if some OS implementation uses thread under the hood, it is totally hidden from an API point of view. -- Pierre @pierrejoye