[
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/%[email protected]%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.