Very interesting! I've seen references to NRTCachingDirectory, MMapDirectory, FSDirectory, RamDirectory and NIOFSDirectory, and thats just what I can remember. I have tried to search for more information about these, but I'm not having much luck.
Is there a place where I can read up on these? Med venlig hilsen / Best regards *John Nielsen* Programmer *MCB A/S* Enghaven 15 DK-7500 Holstebro Kundeservice: +45 9610 2824 p...@mcb.dk www.mcb.dk On Wed, Dec 5, 2012 at 1:11 AM, Mark Miller <markrmil...@gmail.com> wrote: > > On Dec 4, 2012, at 2:25 AM, John Nielsen <j...@mcb.dk> wrote: > > > The post about mmapdirectory is really interesting. We switched to using > > that from NRTCachingDirectory and am monitoring performance as well. > > Initially performance doesn't look stellar, but i suspect that we lack > > memory in the server to really make it shine. > > NRTCachingDirectory delegates to another directory and simply caches small > segments in RAM - usually it delegates MMapDirectory by default. So likely > you won't notice any changes, because you have not likely really changed > anything. NRTCachingDirectory simply helps in the NRT case and doesn't > really hurt that I've seen in the std case. It's more like a help dir than > a replacement. > > - Mark