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] Created: (COUCHDB-639) Pull replication should profit of compressed attachments for higher performance
Date Thu, 04 Feb 2010 23:19:28 GMT
Pull replication should profit of compressed attachments for higher performance
-------------------------------------------------------------------------------

                 Key: COUCHDB-639
                 URL: https://issues.apache.org/jira/browse/COUCHDB-639
             Project: CouchDB
          Issue Type: Improvement
          Components: Replication
    Affects Versions: 0.11
         Environment: trunk
            Reporter: Filipe Manana
         Attachments: pull-rep-att-comp.patch

Currently, when doing a pull replication where there are docs at the source DB with compressed
attachments:

1) The source decompresses the attachment before sending it to the target DB
2) The target compresses the attachment before storing it

Clearly, a waste of CPU, bandwidth and disk IO.

The following patch fixes the issue. JavaScript test included.

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