Commit 674547e3 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e8e63eb9
......@@ -31,12 +31,12 @@ import (
"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.
// TODO maintain nhit / nmiss + way to read cache stats
// 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.
type Cache struct {
loader interface {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment