Re: feature request : easy shared memory

From: Date: Thu, 14 Mar 2013 08:08:33 +0000
Subject: Re: feature request : easy shared memory
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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" <[email protected]> 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.
>


Thread (11 messages)

« previous php.internals (#66607) next »