On Tue, 2004-06-01 at 09:46, Jens Gassmann wrote:
> maybe IPC-SharedCache helps you:
> http://search.cpan.org/~samtregar/IPC-SharedCache-1.3/SharedCache.pm

I guess maybe you missed the rating where the module's own author says
not to use it.

This is based on IPC::ShareLite, like several other IPC modules, and
IPC::ShareLite is impractical for any significant amount of data.  To
store a hash of objects it would have to serialize the entire hash and
stuff it into shared memory on every update, and then de-serialize the
entire hash on the other side every time you want to read a key from it.

This has all been discussed at great length and you can find it in the
mailing list archives.  The current winners on my benchmarks for local
(i.e. not a cluster of machines) sharing are BerkeleyDB, IPC::MM, and
Cache::FastMmap.

- Perrin


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to