couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-913) Caching of BTree nodes and documents
Date Thu, 09 Dec 2010 17:18:05 GMT

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

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

After merging all the latest trunk changes related to performance into couch_append_cache,
I ran again 2 more tests to compare it against trunk. Both tests ran for 15 minutes, use documents
of 5Kb each and only have the document cache enabled:

# couch_append_cache (no btree cache, 8mb doc cache) versus trunk, 5Kb docs

$ node tests/compare_write_and_read.js --wclients 20 --rclients 200 \
  -name1 couch_cache_8mb_doc -name2 trunk \
  -url1 http://localhost:5984/ -url2 http://localhost:5985/ \
  --duration 900

http://graphs.mikeal.couchone.com/#/graph/df0f79455c9c600f66d1ce42ea00036a


# couch_append_cache (no btree cache, 16mb doc cache) versus trunk, 5Kb docs

$ node tests/compare_write_and_read.js --wclients 20 --rclients 200 \
  -name1 couch_cache_16mb_doc -name2 trunk \
  -url1 http://localhost:5984/ -url2 http://localhost:5985/ \
  --duration 900

http://graphs.mikeal.couchone.com/#/graph/df0f79455c9c600f66d1ce42ea001184


It's now clear that implementing a cache (at least as it is) is definitely not worth.

> 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
>         Attachments: cache-perf-tests.tar.gz
>
>
> 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.


Mime
View raw message