incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damien Katz <dam...@apache.org>
Subject Re: couchdb as media repository ?
Date Tue, 06 Jan 2009 17:33:36 GMT
The problem with saving large attachments is that currently we buffer  
the whole attachment to memory before writing to disk. It's on my list  
to stream attachments to disk, which will make this much more efficient.

-Damien


On Jan 6, 2009, at 11:48 AM, Benoit Chesneau wrote:

> On Tue, Jan 6, 2009 at 5:43 PM, Patrick Antivackis
> <patrick.antivackis@gmail.com> wrote:
>> I put movies of 1,6GB already as attachment using Curl, it works  
>> perfectly.
>> How do you create your attachment and do you get any error ?
>>
>
> Weird, I use curl too like this :
> curl -X PUT --data-binary "@test.mp3" --header "Accept:
> application/json" --header "Content-Type: application/mpeg" --header
> "Transfer-Encoding: chunked" --header "Expect:" -v
> http://127.0.0.1:5984/test/blah/test?rev=2559770741
>
> and get the errorvdescribed here :
> https://issues.apache.org/jira/browse/COUCHDB-198
>
> Do you have this results on latest trunk or do you use couchdb 0.8.1 ?
>
> - benoƮt


Mime
View raw message