You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Adam Kocoloski (JIRA)" <ji...@apache.org> on 2009/03/02 23:46:56 UTC
[jira] Commented: (COUCHDB-163) replicate attachments without
Base64 encoding
[ 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.