[Zope] Re: Zope and mod_python

Tres Seaver tseaver at zope.com
Thu Feb 10 12:53:58 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pascal Peregrina wrote:
| mmmm... I thought that thre was one cache per connection to Zeo ??
|
| A standard Zope instance with Zeo has 4 connections to Zeo, and when you
| look at the cache status, it is different for each connection (different
| number of objects).
| So I am not sure that there is anything shared accross connections.

There are two caches in play here:  the in-memory cache is
per-connection (and not specific to ZEO);  the on-disk cache (which is
ZEO-specific) is shared across connections.

| If I am right, then it makes no real difference to have many Zope with one
| connection to Zeo vs. one Zope with many connections to Zeo.
|
| If I am wrong, then I agree, "it's a shame" :)

We would need to test to see if it ended up mattering.  Cache behavior
is almost *never* what I expect.

Tres.
- --
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCC5+2GqWXf00rNCgRAu1PAJ9dH0MvXl3+diqQwgMlToLF+oMTTwCfUycF
swMKqa8LBjA+3iZG/1lzkLk=
=57k+
-----END PGP SIGNATURE-----


More information about the Zope mailing list