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.

Reply via email to