davisp commented on issue #610: Optimize ddoc cache
URL: https://github.com/apache/couchdb/pull/610#issuecomment-311816596
 
 
   @chewbranca Epic nerd snipe. I've sprinkled more parallel on the ddoc_cache. 
Care to take another look. Currently measuring 1M+ ops/sec against a 1,000 item 
cache on my MBP. I have to do some work on the test suite tomorrow to finish up 
the rewritten rewrite work but I'm currently pretty happy with it.
   
   New style is one pid per entry which does all of the ets writes for the 
entry. the LRU process only exists to do evictions. I soaked 20,000 clients 
against a 500 item cache on my laptop for 30-45m and it sustained about 1.5M 
ops/sec without error and without blowing RAM up beyond 500M. Those numbers are 
for a custom module that does no loading but I think it shows that the cache 
itself won't be bound by the cache and instead it'll be fabric calls and or 
some other bottle neck before the cache.
 
----------------------------------------------------------------
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