Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1054

Better couch_log performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1, 1.2
    • None
    • None

    Description

      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:

      http://graphs.mikeal.couchone.com/#/graph/0379dbdaef29b1c0fbf03421540243f7

      Attachments

        1. COUCHDB-1054.patch
          5 kB
          Filipe David Borba Manana
        2. COUCHDB-1054-2.patch
          5 kB
          Filipe David Borba Manana
        3. COUCHDB-1054-3.patch
          5 kB
          Filipe David Borba Manana

        Activity

          People

            fdmanana Filipe David Borba Manana
            fdmanana Filipe David Borba Manana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: