Hi again.

I've been looking at what cache misses the RDBDocumentStore gets.

It seems that the DocumentNodeStore's background threads run once per second by default.

The first thing the backgroundRead does is:

        String id = Utils.getIdFromPath("/");
        NodeDocument doc = store.find(Collection.NODES, id, asyncDelay);

where asyncDelay is 1000 as well.

This causes the find on 0:/ to produce a cache miss, unless there was other activity on that cache entry within the last 1000ms, thus causing a roundtrip to the persistence.

Is this really the intention?

Best regards, Julian

Reply via email to