Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66607 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82621 invoked from network); 14 Mar 2013 08:08:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Mar 2013 08:08:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=chrisstocktonaz@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=chrisstocktonaz@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.180 as permitted sender) X-PHP-List-Original-Sender: chrisstocktonaz@gmail.com X-Host-Fingerprint: 209.85.128.180 mail-ve0-f180.google.com Received: from [209.85.128.180] ([209.85.128.180:57691] helo=mail-ve0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/B9-27533-68581415 for ; Thu, 14 Mar 2013 03:08:41 -0500 Received: by mail-ve0-f180.google.com with SMTP id jx10so1480805veb.11 for ; Thu, 14 Mar 2013 01:08:33 -0700 (PDT) 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=M5m7vVdt7uol4ctD2sxcb0CmnyFmsSkF3cKePLfEO7k=; b=aC2icMi7Dn74443yhHZeBzpa84WN1YcI2//PQ/x7Ud6sgLkgtAo3RW3qP4SrUDanlP aCXXvQhANAgv6IKZhD1ydMJJEhhmroBOzpCeG2B5Z0jMt1jYED/Pld4Vt5N4BVz+ZpsZ eo2rfORMOoyzRzQY1iNz1zV0g8IJ7IMaDlrR/TWmpBAoTWmSrSsaLU0tQUHTwUXwQ8k1 a8nLuuxI+MdbWjfQ2uqSRgqlw7tp6rlWLUXxMbl4x60cgbaJ2ndYlM5slL6ryc3+ZFoj jsN/VnfTwE4NjhBqCZG3VraJPeoxNvcCdDb51NnVmac5jHgG2GNlGvyV3GihC3i55dzu Y+Qw== MIME-Version: 1.0 X-Received: by 10.52.29.18 with SMTP id f18mr579110vdh.57.1363248513438; Thu, 14 Mar 2013 01:08:33 -0700 (PDT) Received: by 10.58.24.100 with HTTP; Thu, 14 Mar 2013 01:08:33 -0700 (PDT) Received: by 10.58.24.100 with HTTP; Thu, 14 Mar 2013 01:08:33 -0700 (PDT) In-Reply-To: References: Date: Thu, 14 Mar 2013 01:08:33 -0700 Message-ID: To: rene7705 Cc: PHP Developers Mailing List Content-Type: multipart/alternative; boundary=20cf307f3aa8625bab04d7de071c Subject: Re: [PHP-DEV] feature request : easy shared memory From: chrisstocktonaz@gmail.com (Chris Stockton) --20cf307f3aa8625bab04d7de071c Content-Type: text/plain; charset=ISO-8859-1 Might want to look into redis or memcache also, you can get a bit of persistence and distribution that's a bit tougher when your married to an apache instance. -Chris On Mar 14, 2013 12:06 AM, "rene7705" wrote: > Hi. > > I'd like to build a replacement for SQL (yes, talk about an ambitious > project! ;), because the constant transferal of data in and out of SQL from > Javascript (where everything might as well be object-oriented and > hierarchial) is a pain in the neck. > > But in order to do so, I'd very much like PHP (the server still controls > the data after all) to support shared memory efficiently. > > Something like > > sharedmem $bigNestedArray; // $bigNestedArray would be shared accross the > entire server and all CPUs on it. > > as you now have > > global $bigNestedArray; > > would be ideal. > > I bet this would be useful for a host of other applications as well, and > fairly easy to implement. > > I'm an application programmer by trade, or I would hack this in myself. > > I'd much rather see the PHP development team develop this in properly. I > don't think it would require much time, as OS-level shared memory has been > easy to implement since the 1990s. > > Please put this on the agenda, and get back to us in this thread as to when > this will be available. > --20cf307f3aa8625bab04d7de071c--