Re: forks: shared variables between different applications or hosts

[email protected] (Alvar Freude) Thu, 05 Jul 2007 18:30:56 +0200
Newsgroups perl.ithreads
Message-ID <[email protected]>
Hi,

-- Alvar Freude <[email protected]> wrote:

> hmmm, for a typical page I need between 50 and 1000 hash lookups. And
> sometimes more and sometimes fewer. But I'll make some tests

so, the results for a first test with small hash lookup are:
With forks::BerkeleyDB it is about 10 to 20 times slower then with an 
unshared hash and about 10 times faster as with the usual forks::shared.

That's pretty fast, but for my problem it seems that the solution with an 
extra daemon is better.


Ciao
  Alvar


-- 
** Alvar C.H. Freude, http://alvar.a-blast.org/
** http://www.assoziations-blaster.de/
** http://www.wen-waehlen.de/
** http://odem.org/
signature.asc (application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFGjRzAOndlH63J86wRAo6TAKCpzv+UFZtGsg6glOyjc7WL1JYd5gCgkNfk
f82/ueUw7Mh/PM16ccVlyrw=
=kcES
-----END PGP SIGNATURE-----