You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2009/11/02 19:25:01 UTC

[jira] Created: (COUCHDB-554) RFC3284 support for delta-based attachment updates

RFC3284 support for delta-based attachment updates
--------------------------------------------------

                 Key: COUCHDB-554
                 URL: https://issues.apache.org/jira/browse/COUCHDB-554
             Project: CouchDB
          Issue Type: New Feature
          Components: Database Core
            Reporter: Robert Newson


I was thinking about being to update an attachment with a binary diff instead of a full upload (in those cases where the diff would be much smaller, of course). RFC3284 (http://www.faqs.org/rfcs/rfc3284.html) seems to document a generic syntax for describing a patch.

The idea is that you would PUT an encoded diff as the body instead of sending the full bytes. If the attachment's revision matches your PUT's revision, then CouchDB will apply the delta to its locally stored version to make the new version. As a further option, CouchDB could store the delta itself and apply it on fetch. This might complicate compaction, though.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COUCHDB-554) RFC3284 support for delta-based attachment updates

Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Joseph Davis updated COUCHDB-554:
--------------------------------------

    Skill Level: Regular Contributors Level (Easy to Medium)

> RFC3284 support for delta-based attachment updates
> --------------------------------------------------
>
>                 Key: COUCHDB-554
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-554
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>            Reporter: Robert Newson
>
> I was thinking about being to update an attachment with a binary diff instead of a full upload (in those cases where the diff would be much smaller, of course). RFC3284 (http://www.faqs.org/rfcs/rfc3284.html) seems to document a generic syntax for describing a patch.
> The idea is that you would PUT an encoded diff as the body instead of sending the full bytes. If the attachment's revision matches your PUT's revision, then CouchDB will apply the delta to its locally stored version to make the new version. As a further option, CouchDB could store the delta itself and apply it on fetch. This might complicate compaction, though.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.