couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randall Leeds (JIRA)" <>
Subject [jira] Commented: (COUCHDB-1054) Better couch_log performance
Date Wed, 02 Feb 2011 08:15:29 GMT


Randall Leeds commented on COUCHDB-1054:

Reviewed the patch and it looks good. Nice performance win!
Would if we added the timestamp in get_log_message?
It might make some log messages appear out of order, but it would keep the timestamp closer
to the real time of the event.
Could the timestamps ever provide more information about inter-related gen_server crashes?
Information which is not clear from the backtrace, the last message received, or the supervision
Also, fewer io:format maybe creates less garbage?
I don't feel strongly either way, but I thought I'd pick it out and ask your opinion since
the rest of the patch is unquestionably solid.

> Better couch_log performance
> ----------------------------
>                 Key: COUCHDB-1054
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>         Attachments: COUCHDB-1054-2.patch, COUCHDB-1054.patch
> Building the messages to write to the console and the log file can be done outside the
couch_log gen_event. This significantly increases the parallelism when many processes log
messages. The following relaximation test graph shows a throughput increase using the attached
patch against current trunk:

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message