<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Writing binary data to CouchDB</title>
	<atom:link href="http://blog.loftninjas.org/2009/02/27/writing-binary-data-to-couchdb/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.loftninjas.org/2009/02/27/writing-binary-data-to-couchdb/</link>
	<description></description>
	<lastBuildDate>Sat, 21 Jan 2012 06:46:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jan L</title>
		<link>http://blog.loftninjas.org/2009/02/27/writing-binary-data-to-couchdb/comment-page-1/#comment-2053</link>
		<dc:creator>Jan L</dc:creator>
		<pubDate>Sat, 28 Feb 2009 08:58:23 +0000</pubDate>
		<guid isPermaLink="false">http://labs.widemile.com/?p=19#comment-2053</guid>
		<description>Hi Bryan,

what Chris said, except that if you create an attachment to a nonexisting doc, the doc is created implicitly.

Cheers
Jan
--</description>
		<content:encoded><![CDATA[<p>Hi Bryan,</p>
<p>what Chris said, except that if you create an attachment to a nonexisting doc, the doc is created implicitly.</p>
<p>Cheers<br />
Jan<br />
&#8211;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J Chris A</title>
		<link>http://blog.loftninjas.org/2009/02/27/writing-binary-data-to-couchdb/comment-page-1/#comment-2052</link>
		<dc:creator>J Chris A</dc:creator>
		<pubDate>Sat, 28 Feb 2009 03:00:47 +0000</pubDate>
		<guid isPermaLink="false">http://labs.widemile.com/?p=19#comment-2052</guid>
		<description>CouchDB has had binary attachment support since shortly after the 0.8.1 release. Binary attachments are not sent to the view server, and take advantage of the fact that they are not JSON documents by being streamed to disk in parallel. In tests using the direct Erlang API with one 250KB attachment per document I was able to store roughly 20MB/sec of data to disk. This is about 80% of my disk&#039;s raw speed, and I&#039;ve still got tuning to do. I imagine it would not be much slower with HTTP PUTs but there&#039;s an API design challenge about how to do that without having to make 2 requests per attachment (one to make the doc and one to add the attachment...). My benchmark saved attachments 1000 at a time, which is also harder to do with the HTTP API. Nevertheless, the underlying storage engine is MUCH faster than what you are seeing in 0.8.1.</description>
		<content:encoded><![CDATA[<p>CouchDB has had binary attachment support since shortly after the 0.8.1 release. Binary attachments are not sent to the view server, and take advantage of the fact that they are not JSON documents by being streamed to disk in parallel. In tests using the direct Erlang API with one 250KB attachment per document I was able to store roughly 20MB/sec of data to disk. This is about 80% of my disk&#8217;s raw speed, and I&#8217;ve still got tuning to do. I imagine it would not be much slower with HTTP PUTs but there&#8217;s an API design challenge about how to do that without having to make 2 requests per attachment (one to make the doc and one to add the attachment&#8230;). My benchmark saved attachments 1000 at a time, which is also harder to do with the HTTP API. Nevertheless, the underlying storage engine is MUCH faster than what you are seeing in 0.8.1.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

