Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
42630e66
Commit
42630e66
authored
Dec 26, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
dec5bf0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
go/zodb/cache.go
go/zodb/cache.go
+8
-2
No files found.
go/zodb/cache.go
View file @
42630e66
...
...
@@ -32,9 +32,15 @@ import (
)
// FIXME watch over storage and update cache to new commits there.
// ( need to keep δtail for looking a bit into future for loads with at
//
// ( Will need to keep δtail for looking a bit into future for loads with at
// slightly in the past: e.g. DB changes frequently, and every connection
// open results in slightly lagging at )
// open results in slightly lagging at.
//
// With δtail we will be able to look ahead in [at, .cache.head] range and
// mark just loaded RCE as having .head=∞, if object is not changed there,
// instead of marking RCE with .head=at and this way needing to load the same
// object again for next connection open )
// XXX managing LRU under 1 big gcMu might be bad for scalability.
// TODO maintain nhit / nmiss + way to read cache stats
...
...
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