From dec5bf0ba23b0ec2c599e34aa7e96ed85ad21a7b Mon Sep 17 00:00:00 2001 From: Kirill Smelkov <kirr@nexedi.com> Date: Wed, 26 Dec 2018 18:14:06 +0300 Subject: [PATCH] . --- go/zodb/cache.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/go/zodb/cache.go b/go/zodb/cache.go index f3ce3b8b..586a7960 100644 --- a/go/zodb/cache.go +++ b/go/zodb/cache.go @@ -32,6 +32,9 @@ 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 +// slightly in the past: e.g. DB changes frequently, and every connection +// open results in slightly lagging at ) // XXX managing LRU under 1 big gcMu might be bad for scalability. // TODO maintain nhit / nmiss + way to read cache stats -- 2.30.9