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
674547e3
Commit
674547e3
authored
Aug 08, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
e8e63eb9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
go/zodb/cache.go
go/zodb/cache.go
+2
-2
No files found.
go/zodb/cache.go
View file @
674547e3
...
@@ -31,12 +31,12 @@ import (
...
@@ -31,12 +31,12 @@ import (
"lab.nexedi.com/kirr/go123/xcontainer/list"
"lab.nexedi.com/kirr/go123/xcontainer/list"
)
)
// TODO handle invalidations from the database.
// XXX managing LRU under 1 big gcMu might be bad for scalability.
// XXX managing LRU under 1 big gcMu might be bad for scalability.
// TODO maintain nhit / nmiss + way to read cache stats
// TODO maintain nhit / nmiss + way to read cache stats
// TODO optimize cache more so that miss overhead becomes negligible
// TODO optimize cache more so that miss overhead becomes negligible
// TODO Drop(xid) -> make sure data for xid is no longer in cache
// Cache provides RAM caching layer that can be used over a storage.
// Cache provides RAM caching layer that can be used over a storage.
type
Cache
struct
{
type
Cache
struct
{
loader
interface
{
loader
interface
{
...
...
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