davisp commented on issue #610: Optimize ddoc cache
URL: https://github.com/apache/couchdb/pull/610#issuecomment-310723936
 
 
   Refreshing my memory on the mem3 PR I can definitely apply a lot of that to 
this as well so I'll update things for that.
   
   For the accessed messages there's not a lot I think we can do there with the 
existing structure. Although I could see changing things around a bit to make 
it a LFU cache instead of an LRU cache. It'd involve a table scan to evict but 
would remove a lot of the message passing to ddoc_cache_lru and friends. I'll 
make the mem3 inspired changes first and then will look at this approach.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to