couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-797) PATCH: couch_stats_aggregator should use queue instead of list
Date Sat, 12 Jun 2010 14:56:13 GMT

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

Adam Kocoloski commented on COUCHDB-797:
----------------------------------------

Hi Sean, `make check` fails for me with this patch.  Can you double-check it?

/usr/local/src/couchdb/test/etap/121-stats-aggregates...............FAILED tests 7, 9, 11,
13, 15, 17
	Failed 6/17 tests, 64.71% okay


> PATCH: couch_stats_aggregator should use queue instead of list
> --------------------------------------------------------------
>
>                 Key: COUCHDB-797
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-797
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>            Reporter: Sean Bartell
>            Priority: Minor
>         Attachments: 0001-stats-use-queue-instead-of-list-for-speed.patch
>
>
> couch_stats_aggregator uses a list to store samples, but many times per second adds a
value to the front or removes one from the end. This patch makes it use a queue instead. Statistics
take up little CPU time, but there's a noticeable improvement when CouchDB is idle.

-- 
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