incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-163) replicate attachments without Base64 encoding
Date Mon, 02 Mar 2009 22:46:56 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678139#action_12678139
] 

Adam Kocoloski commented on COUCHDB-163:
----------------------------------------

I put together an alternative to multipart that uses a separate request for each attachment
in a document.  It could be a good choice for this ticket.  Details are at:

http://mail-archives.apache.org/mod_mbox/couchdb-dev/200902.mbox/%3c5A96DE04-A57E-4741-B636-D3FB637D0B8F@gmail.com%3e

> replicate attachments without Base64 encoding
> ---------------------------------------------
>
>                 Key: COUCHDB-163
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-163
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>            Reporter: Adam Kocoloski
>            Priority: Blocker
>             Fix For: 0.9
>
>
> CouchDB currently replicates attachments by inlining them in the JSON representation
of the document.  This puts a load on the DB in the case of large attachments.  It might be
possible to avoid inlining attachments by
> a) adding a {new_edits, false} equivalent option in the standalone attachment API, or
> b) accepting a multipart format that would allow JSON docs and binary attachments to
be transmitted in one shot, or
> c) something I haven't thought of yet
> Regards, Adam

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