Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
63dd8b28
Commit
63dd8b28
authored
May 27, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revise explanation of cache now that ZEO 2.0 is out.
parent
3c1b7e24
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
doc/ZEO/ClientCache.txt
doc/ZEO/ClientCache.txt
+4
-5
No files found.
doc/ZEO/ClientCache.txt
View file @
63dd8b28
...
@@ -35,17 +35,15 @@ ZEO Client Cache
...
@@ -35,17 +35,15 @@ ZEO Client Cache
transactions commit locally, or as data are loaded from the
transactions commit locally, or as data are loaded from the
server.
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
- When the current cache file size exceeds one half the cache size, the
first cache file is recreated and designated the "current" cache
first cache file is recreated and designated the "current" cache
file. The second cache file becomes the "old" cache file.
file. The second cache file becomes the "old" cache file.
and so on.
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
Persistent cache files are created in the directory named in the
'var' argument to the ClientStorage (see ClientStorage.txt) or in
'var' argument to the ClientStorage (see ClientStorage.txt) or in
the 'var' subdirectory of the directory given by the INSTANCE_HOME
the 'var' subdirectory of the directory given by the INSTANCE_HOME
...
@@ -66,3 +64,4 @@ ZEO Client Cache
...
@@ -66,3 +64,4 @@ ZEO Client Cache
For example, the second cache file for storage 'spam' and client 8881
For example, the second cache file for storage 'spam' and client 8881
would be named 'cspam-8881-1.zec'.
would be named 'cspam-8881-1.zec'.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment