Package dircacheserver is a caching proxy between a client and all directories. Cached entries are appended to a log to survive restarts.
const ( // LRUMax is the maximum number of entries in the LRU. LRUMax = 10000 // SequenceLRUMax is the maximum number of paths that // whose sequence we will remember. This is used to // avoid reapplying Watch Events that reflect actions // we have already applied or overridden. SequenceLRUMax = 2000 )
New creates a new DirServer cache reading in the log and writing out a new compacted log.