in reply to One big fat memory resident variable reachable by other scripts

In theory, you could use POSIX shared memory, but I wouldn't recommend it: there are some gotchas to it, it's cumbersome to use and not necessarily as fast to be worth the trouble.  Why not use a daemon process (service) that provides access to the data via a socket? Or simply use a database file like BerkeleyDB, which is fast, too, as the data is indexed (accessible like a hash)...

  • Comment on Re: One big fat memory resident variable reachable by other scripts