couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (JIRA)" <>
Subject [jira] Updated: (COUCHDB-1054) Better couch_log performance
Date Wed, 02 Feb 2011 22:43:28 GMT


Filipe Manana updated COUCHDB-1054:

    Attachment: COUCHDB-1054-3.patch

Updated patch.
Adding the timestamp outside the event handler and using io:put_chars/[1,2].

Relaximation graph:

While running this test (100 readers, 100 writers), all log entries have monotonically increasing
timestamps. Their resolution is at the second level, so it shouldn't be very common to get
2 consecutive log messages without increasing  timestamps.

Any objection for 1.1.x inclusion (besides trunk)?

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