Hi Perrin, hi list,
sorry, my Template Module use it and so i think it could be so bad, but i learn gladly in addition,
- Jens
Perrin Harkins wrote:
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
-- Der Kopf ist rund, damit das Denken die Richtung ändern kann!
E-Mail: [EMAIL PROTECTED] Internet: http://www.atomix.de/ Mobil: 0179/1361016
-- 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