Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61103 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7214 invoked from network); 4 Jul 2012 14:37:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jul 2012 14:37:10 -0000 Authentication-Results: pb1.pair.com header.from=tom@punkave.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tom@punkave.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain punkave.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: tom@punkave.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:62528] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EE/71-30242-41554FF4 for ; Wed, 04 Jul 2012 10:37:09 -0400 Received: by yenl12 with SMTP id l12so7481034yen.29 for ; Wed, 04 Jul 2012 07:37:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=BXwXSIOMN8py0i+Gzo0D9hQrplij+6sK6SGqYAjXaPc=; b=mO6r0MGBKG/Sw+4sLHMXm2SP2Ago0frx8cYb8loRBZM2eND/qL6ZH7xhSiu537qdP2 Xss2xsGeNBi84YVmGrDYkZcfOu+9ug5Rb9IGVN/wLWMTpZIeoJppSmMsxlHmKWyFpDom 4GbFMs4TVxVBLgjeSEtJkHeM7pHbBg1WjK/fvDiS9nv2O6AuzUb1YpAZKiUrlBIfQRQ5 rBDqrSwZ6g9/hOQse/e9csgcut5O55bl9kFouaVjycigqTnyyEEfwD1P9nglfLMbK7rt cTMUCSYDtjCoeawPoAzp9vDp1WoeAOYCzlXkuPW45cUjc5PFC20LjMs/BbjSCd39ybLN L74w== MIME-Version: 1.0 Received: by 10.236.76.103 with SMTP id a67mr8137968yhe.69.1341412626437; Wed, 04 Jul 2012 07:37:06 -0700 (PDT) Received: by 10.100.107.15 with HTTP; Wed, 4 Jul 2012 07:37:06 -0700 (PDT) In-Reply-To: References: <4FF2FFBF.8050301@lerdorf.com> <4FF31F5A.9010009@lerdorf.com> Date: Wed, 4 Jul 2012 10:37:06 -0400 Message-ID: To: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlBVmaHJNV4P8ZvL01crcM8L+URnwHi6tsesBlaGuymPt9x8IRSuxG0fJooW3T7LJbGJC// Subject: Re: [PHP-DEV] Is the fix for #61238 in PHP 5.4.4 & pecl yet? From: tom@punkave.com (Tom Boutell) Hmm, but the stat=0 optimization is a major one; a cache that didn't offer it would be significantly slower in production for those who know what they're doing, yes? (I haven't actually tried the stat=0 trick myself yet and don't have performance numbers on its impact. I really ought to though, since hitting an API URL that clears the APC cache as part of deployment should be pretty easy.) On Wed, Jul 4, 2012 at 5:55 AM, Pierre Joye wrote: > hi Rasmus, > > On Tue, Jul 3, 2012 at 6:35 PM, Rasmus Lerdorf wrote: >> On 07/03/2012 08:17 AM, Pierre Joye wrote: >>> I for one would like to kill all the legacy features or too specific >>> features which are really unusable by any common developers. >>> >>> Other developers may disagree but it makes very hard to maintain APC. >> >> There are really just two big features in APC. The opcode caching and >> the user-cache that sits on top of the same shared memory segment used >> by the opcode cache. > > Right, I wold like to split them tho'. To have two independent memory > for opcodes and user cache. > >> Everything else are just little tweaks that amount >> to very little code. > > Maintenance complexity is not necessary related to the amount of code > but the amount of cases to test. These cases also make very hard for > our users to understand APC and how it behaves (the stat=0 being the > easiest one to understand but causing most issues, for example). > > That's where eAccelerator or xCache do way better, if it works, it > simply works, no magic option or other confusing (for the users) > options. > >> The biggest cleanup we would get moving it to core >> would be the ability to drop all the #ifdef checks for the different >> engine versions since we would obviously only need to support the >> current one. > > We will still have to support current supported versions via PECL. > > > Cheers, > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com