Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59546 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81224 invoked from network); 9 Apr 2012 20:30:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Apr 2012 20:30:09 -0000 Authentication-Results: pb1.pair.com header.from=luke@cywh.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=luke@cywh.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cywh.com from 209.85.212.42 cause and error) X-PHP-List-Original-Sender: luke@cywh.com X-Host-Fingerprint: 209.85.212.42 mail-vb0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:62538] helo=mail-vb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/4A-34074-0D6438F4 for ; Mon, 09 Apr 2012 16:30:08 -0400 Received: by vbjk13 with SMTP id k13so2973305vbj.29 for ; Mon, 09 Apr 2012 13:30:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=5yZ6npZQw/6m3RK3khgG2nRlVyBKYJUU0JIM/gtNr04=; b=AchTsLhIv9F54wiPt0nvIB3N8EQ077aKkVbV6k0FLWUAvzTagnSDPpwmHA3jujZAd7 XYnF/lwlgRMzElgUkyuMJdahSMwIe1iAEFDWLYMNlPsqUBTnVUCBMH0xm/4zk7X1d73D bgULZpDu5NjLHjTllJ5BCJickVncbRlR7AOlbT1qChvMzcKJf3IdAZ3WZGzKqFCMRKJv jQIrbCCaRj4P+63vuUVzLP93ZiYjiuw3CTQgsGSvw2h/xVqX+ULs+LqwMkSS6dGlbnQX URIdCxkWfj3EL88HKhNKSoE8FzW/IUjfz3qcqKw+gEtNxr4OQgnSaTVbXZveA7oUfU0u dmHw== Received: by 10.220.141.84 with SMTP id l20mr4343256vcu.31.1334003405529; Mon, 09 Apr 2012 13:30:05 -0700 (PDT) References: <11343239.3338.1333757773882.JavaMail.mobile-sync@iakr3> <2087324446797252296@unknownmsgid> <4F82F6E9.7050900@php.net> In-Reply-To: <4F82F6E9.7050900@php.net> Mime-Version: 1.0 (1.0) Date: Mon, 9 Apr 2012 13:30:03 -0700 Message-ID: <1366176333732756257@unknownmsgid> To: "flavius@php.net" Cc: "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlSbA+3Y6EzLHRrNc8BJMitkRzkAjoi5omvDRG70TBhXQk349wxmbzLzdPMgR/F6NTHsm5I Subject: Re: [PHP-DEV] Persistent zvals From: luke@cywh.com (Luke Scott) On Apr 9, 2012, at 7:49 AM, Flavius Aspra wrote: > On 04/07/2012 05:21 AM, Luke Scott wrote: >> From what I've gathered thus far, it is impossible to do without copying the >> >> non-persistent memory into persistent memory, and then back again. > > Hi, glad to see you again StackOverflow user:-) > > I think I've shown you the route by that [1] project, and yes, the emalloc() call is hardcoded in so many places that you'd have to do it this way. The problem with that is serialization. You can pretty much do the same thing with APC. > > But as Pierre said, an application server for PHP (PHP-FPM?) would be great. The stub part of a .phar file could play a big role there. Yeah it would be. He also mentioned something about preloading framework classes.. Would like to hear his thoughts on that! Luke > > Regards, > Flavius > > [1] https://github.com/flavius/php-persist >