[ 
https://issues.apache.org/jira/browse/COUCHDB-913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923695#action_12923695
 ] 

Filipe Manana commented on COUCHDB-913:
---------------------------------------

I ran a relaximation test, with the default settings (BTree caches with size 
100 and no doc cache):

$ node tests/compare_write_and_read.js --wclients 300 --rclients 150 \
   -name1 btree_caching -name2 trunk \
   -url1 http://localhost:5984/ -url2 http://localhost:5985/ \
    --duration 120

Results are very significant, an improvement in both reads and writes:

http://graphs.mikeal.couchone.com/#/graph/6a174582ead9d38a9200967573028e16

> Caching of BTree nodes and documents
> ------------------------------------
>
>                 Key: COUCHDB-913
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-913
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>
> The following patch adds optional caching of BTree nodes (for both DBs and 
> view indexes) and documents:
> http://github.com/fdmanana/couchdb/commit/c6361d1e0d86942fc86350bea9ca1e8d7539c1b3
> Look at the new parameters introduced in default.ini.tpl.in for more details.
> This is based on the work initially done by Randall Leeds, found at:
> http://github.com/tilgovi/couchdb/commits/forevercache
> I'll not commit it before 1.1 nor without any feedback.
> cheers

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to