[ZODB-Dev] two level cache
jens at dataflake.org
Wed Mar 28 05:18:59 EDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
On 28 Mar 2007, at 11:02, Atmasamarpan Novy wrote:
> Two level cache:
> A current ZODB cache will become a first level cache (L1), each
> ZODB connection maintains its own copy. When an object is needed it
> reads it from L2 cache instead from a storage. L2 cache is a common
> for all ZODB connections. Objects are stored there in the state
> where references are not yet resolved from their persistent form.
> We can still have the same object replicated in respective L1
> caches, now even one more copy is in L2. But a large L2 and a
> smaller L1 could possibly lead to a more efficient caching strategy
> than it is now.
Use ZEO and you get your single L2 cache, file-based, for free...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
-----END PGP SIGNATURE-----
More information about the ZODB-Dev