Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65392 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71999 invoked from network); 29 Jan 2013 14:13:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jan 2013 14:13:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.46 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.215.46 mail-la0-f46.google.com Received: from [209.85.215.46] ([209.85.215.46:49338] helo=mail-la0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2E/2D-10721-5F8D7015 for ; Tue, 29 Jan 2013 09:13:10 -0500 Received: by mail-la0-f46.google.com with SMTP id fq12so321087lab.5 for ; Tue, 29 Jan 2013 06:13:06 -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=o/qJwJkow2EoDkdN5CG52IOJ3LK+jijqgg1X7rR4sWo=; b=N0C0nB3rUrBaqj34qFM4ncUWSTBceVeKOQ2rtVkXTi+vBWLBhIM6P0LyUSoDZA3yVP YwG3qRvt/iD8EL0rmM7Q2LU1TJq0gxcm+3cl3Gby2WeyqVW/OLhkcueH+PbPV2nZ12bp WVNYBRZn2GBhdyoZErPklJLgoAu36g0ZsOMcoUi6DAYseIG8pcwjrkTKL5rqxhrgl70x aCKXr/dCwI/vuOfLRJB97MipkgrX9T/82omrsdijzKA56KBdXEf4XaObgmDeM+jGrWh0 Vu49ObsBnpPA2QJDgEzkxjSOTXfg69bHuPKOgIu5ZeCU6OQKIrWz6/VzXXYXYvu/uitd zDkg== MIME-Version: 1.0 X-Received: by 10.112.51.175 with SMTP id l15mr559853lbo.5.1359468786789; Tue, 29 Jan 2013 06:13:06 -0800 (PST) Received: by 10.112.138.131 with HTTP; Tue, 29 Jan 2013 06:13:06 -0800 (PST) In-Reply-To: <5107D429.60001@lerdorf.com> References: <5d21b42656d49b4a71d9f808541bd745@mail.gmail.com> <252ADB1A-2660-4A45-B859-B92DA2C8B8D8@gmail.com> <5107CEEB.9080003@zerocue.com> <5107D429.60001@lerdorf.com> Date: Tue, 29 Jan 2013 15:13:06 +0100 Message-ID: To: Rasmus Lerdorf Cc: Clint Priest , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=f46d0401678f1eae5204d46dfe8d Subject: Re: [PHP-DEV] [RFC] Integrating Zend Optimizer+ into the PHP distribution From: nikita.ppv@gmail.com (Nikita Popov) --f46d0401678f1eae5204d46dfe8d Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jan 29, 2013 at 2:52 PM, Rasmus Lerdorf wrote: > On 01/29/2013 05:30 AM, Clint Priest wrote: > > > 2) Isn't APC the standard? Is it in such bad shape it is not even being > > considered any longer? > > As it currently stands from a developer participation standpoint it is > not viable. I outlined the issues in a previous post. > > You also have to take into account that most sites can't actually move > to the next release of PHP until APC is stable with it. So effectively > the PHP 5.4 release didn't happen until APC 3.1.13 in September 2012 > which was a full 6 months after PHP 5.4.0. I don't foresee this getting > any better for PHP 5.5. > > In order for PHP releases to actually mean something this is a problem > we have to fix. I honestly don't care which opcode cache implementation > we base a core version on, what I care about is developer buy-in. Dmitry > and Stas being familiar with the code already outnumbers the number of > active core devs working on APC today. > > I understand some of the skepticism and hurt feelings around this from a > few old-timers, but let's move on and see if we can finally push out a > release with solid opcode caching right at the release date. From my > perspective anything up to a 6-month delay would beat the current > situation. > I'm not sure I fully understand this. The RFC claims that Optimizer+ is already *now* fully compatible with PHP 5.5. And that it was also compatible when PHP 5.4 was released. So they lack of a working and free opcode cache clearly wasn't the issue. My guess is rather that the lack of APC support (as in specifically APC and not just some opcode cache) was an issue. Either because people didn't know about alternatives (APC after all is the go-to opcode cache), didn't want to try them or had software tightly integrated with APC (and in particular its user cache). Just to be clear: I fully agree that PHP needs a working opcode cache when PHP 5.5 ships, otherwise adoption will be like 5.4. But I'm not sure what exactly changes between Optimizer+ being in core (enable via configure) and Optimizer+ being in PECL (enable via install). The main point I always saw behind including APC in core is that it would require core developers to maintain it and to update it when doing ZE changes, on their own. This doesn't seem to be a motivation for Optimizer+. Apart from that I see rather little difference between core/pecl. Opcode caching is the kind of thing where the "if it's in pecl nobody will use it" logic does not apply, as people using opcode caches run their own servers. I do get that opcode caching is commonly needed, so it would be nice to have it in core (easier installation?), but I don't see why we should put off the release for one, two, or more months, for that small convenience. Thanks, Nikita --f46d0401678f1eae5204d46dfe8d--