[Zodb-checkins] CVS: ZODB3/Doc/ZEO - ClientCache.txt:1.5
Jeremy Hylton
jeremy at zope.com
Tue May 27 19:06:45 EDT 2003
Update of /cvs-repository/ZODB3/Doc/ZEO
In directory cvs.zope.org:/tmp/cvs-serv21692/Doc/ZEO
Modified Files:
ClientCache.txt
Log Message:
Revise explanation of cache now that ZEO 2.0 is out.
=== ZODB3/Doc/ZEO/ClientCache.txt 1.4 => 1.5 ===
--- ZODB3/Doc/ZEO/ClientCache.txt:1.4 Wed Oct 30 13:59:54 2002
+++ ZODB3/Doc/ZEO/ClientCache.txt Tue May 27 18:06:45 2003
@@ -35,17 +35,15 @@
transactions commit locally, or as data are loaded from the
server.
+ - When a cache hit is found in the old cache file, it is copied to
+ the current cache file.
+
- When the current cache file size exceeds one half the cache size, the
first cache file is recreated and designated the "current" cache
file. The second cache file becomes the "old" cache file.
and so on.
- As of ZEO 2.0 beta 2, the above algorithm is augmented as follows.
- When a cache load finds a hit in the "old" cache file, the data is
- copied to the "current" cache file. This appears to improve the hit
- rate.
-
Persistent cache files are created in the directory named in the
'var' argument to the ClientStorage (see ClientStorage.txt) or in
the 'var' subdirectory of the directory given by the INSTANCE_HOME
@@ -66,3 +64,4 @@
For example, the second cache file for storage 'spam' and client 8881
would be named 'cspam-8881-1.zec'.
+
More information about the Zodb-checkins
mailing list