in reply to shared memory and objects

Check out Cache::Memcached on CPAN and the main project at http://www.danga.com/memcached. It will do all that you require and then some. For example, it will allow you to share objects across multiple servers which you can't do with shared memory.

Frank Wiles <frank@wiles.org>
http://www.wiles.org

Replies are listed 'Best First'.
Re^2: shared memory and objects
by perrin (Chancellor) on Oct 26, 2004 at 04:25 UTC
    Cache::Memcached does exactly what I descibed above: it serializes objects using Storable and sends them to a server. If you don't need to share data across a cluster of machines, BerkeleyDB and Cache::FastMmap both offer better performance than Cache:Memcached.
      Perrin's right, those are faster options than Cache::Memcached. It was just the first option that came to mind when I read the question.

      Frank Wiles <frank@wiles.org>
      http://www.wiles.org