<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Notes from a production MongoDB deployment</title>
	<atom:link href="http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/</link>
	<description>Real software development</description>
	<lastBuildDate>Fri, 03 Feb 2012 10:34:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Rob S.</title>
		<link>http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/#comment-1348</link>
		<dc:creator><![CDATA[Rob S.]]></dc:creator>
		<pubDate>Thu, 28 Oct 2010 23:21:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.boxedice.com/?p=804#comment-1348</guid>
		<description><![CDATA[We&#039;re in a similar situation - bringing up a slave against a new master with a huge database (100GB+).

Hugely helpful man, thanks!]]></description>
		<content:encoded><![CDATA[<p>We&#8217;re in a similar situation &#8211; bringing up a slave against a new master with a huge database (100GB+).</p>
<p>Hugely helpful man, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Mytton</title>
		<link>http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/#comment-1310</link>
		<dc:creator><![CDATA[David Mytton]]></dc:creator>
		<pubDate>Mon, 18 Oct 2010 12:52:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.boxedice.com/?p=804#comment-1310</guid>
		<description><![CDATA[I&#039;ve not looked at CouchDB again since we migrated to Mongo. It was easy to migrate at the beginning because the service was so new but we&#039;re now heavily integrated into it and moving isn&#039;t really an option.

To address some of the disadvantages:

- repair database only needs to happen where the DB was shut down improperly e.g. power failure. You&#039;d use replication to mitigate this so you can repair a database without loss of service. This lack of single server durability will be &quot;fixed&quot; in 1.8 later this year. We&#039;ve never had to do a repair in over a year of usage.

- Indexing blocks but you can use background indexes to prevent that.

- Initial sync/replication is an issue with any database where you have to do a full resync

- Disk space inefficiency is resolved in the latest version and further compaction will be introduced in a future release.

- Namespace limits - do you need 24k indexes and/or collections per database?

- Map reduce is fairly slow right now - this is perhaps the only real problem that you might need to choose CouchDB over MongoDB.

It&#039;s also important to note that MongoDB has commercial support behind it, and they are very responsive. This has been extremely useful for us.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve not looked at CouchDB again since we migrated to Mongo. It was easy to migrate at the beginning because the service was so new but we&#8217;re now heavily integrated into it and moving isn&#8217;t really an option.</p>
<p>To address some of the disadvantages:</p>
<p>- repair database only needs to happen where the DB was shut down improperly e.g. power failure. You&#8217;d use replication to mitigate this so you can repair a database without loss of service. This lack of single server durability will be &#8220;fixed&#8221; in 1.8 later this year. We&#8217;ve never had to do a repair in over a year of usage.</p>
<p>- Indexing blocks but you can use background indexes to prevent that.</p>
<p>- Initial sync/replication is an issue with any database where you have to do a full resync</p>
<p>- Disk space inefficiency is resolved in the latest version and further compaction will be introduced in a future release.</p>
<p>- Namespace limits &#8211; do you need 24k indexes and/or collections per database?</p>
<p>- Map reduce is fairly slow right now &#8211; this is perhaps the only real problem that you might need to choose CouchDB over MongoDB.</p>
<p>It&#8217;s also important to note that MongoDB has commercial support behind it, and they are very responsive. This has been extremely useful for us.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hackeron</title>
		<link>http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/#comment-1309</link>
		<dc:creator><![CDATA[hackeron]]></dc:creator>
		<pubDate>Mon, 18 Oct 2010 12:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.boxedice.com/?p=804#comment-1309</guid>
		<description><![CDATA[I&#039;ve seen that. You can always use a megaview (https://wiki.mozilla.org/Raindrop/Megaview) or create multiple views on the keys you&#039;re interested and join on the app level or something? - Can you give me an example of an adhoc query you need to run? - When you have monitoring data coming in from all your clients, isn&#039;t it a problem you can&#039;t store it for hours?

For my app, which is a web nased surveillance system, see: http://demo1.xanview.com (user/pass: demo/demo) - I plan to predict some of the views like &quot;large object&quot;, &quot;long event&quot;, etc and when an adhoc query is needed (which I don&#039;t think will be often), a user will be able to generate an extra view with a name and description which will show up in the interface in gray with a progress spinner until it&#039;s finished processing as adding views doesn&#039;t block.

All this is theory though, I&#039;m still evaluating which database technology to choose. However it seems the MongoDB disadvantages are pretty huge: database unavailable for hours at a time when you repair, add an index,  initial sync/replicate, inefficiency reclaiming disk space, inability to do master/master replication, namespace limits, no incremental map/reduce so queries are expensive.

CouchDB&#039;s disadvantages seem to be no adhoc queries and slower with smaller loads or am I missing something?]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve seen that. You can always use a megaview (<a href="https://wiki.mozilla.org/Raindrop/Megaview" rel="nofollow">https://wiki.mozilla.org/Raindrop/Megaview</a>) or create multiple views on the keys you&#8217;re interested and join on the app level or something? &#8211; Can you give me an example of an adhoc query you need to run? &#8211; When you have monitoring data coming in from all your clients, isn&#8217;t it a problem you can&#8217;t store it for hours?</p>
<p>For my app, which is a web nased surveillance system, see: <a href="http://demo1.xanview.com" rel="nofollow">http://demo1.xanview.com</a> (user/pass: demo/demo) &#8211; I plan to predict some of the views like &#8220;large object&#8221;, &#8220;long event&#8221;, etc and when an adhoc query is needed (which I don&#8217;t think will be often), a user will be able to generate an extra view with a name and description which will show up in the interface in gray with a progress spinner until it&#8217;s finished processing as adding views doesn&#8217;t block.</p>
<p>All this is theory though, I&#8217;m still evaluating which database technology to choose. However it seems the MongoDB disadvantages are pretty huge: database unavailable for hours at a time when you repair, add an index,  initial sync/replicate, inefficiency reclaiming disk space, inability to do master/master replication, namespace limits, no incremental map/reduce so queries are expensive.</p>
<p>CouchDB&#8217;s disadvantages seem to be no adhoc queries and slower with smaller loads or am I missing something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Mytton</title>
		<link>http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/#comment-1308</link>
		<dc:creator><![CDATA[David Mytton]]></dc:creator>
		<pubDate>Mon, 18 Oct 2010 09:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.boxedice.com/?p=804#comment-1308</guid>
		<description><![CDATA[Because CouchDB doesn&#039;t allow for ad-hoc queries. See http://blog.boxedice.com/2009/07/25/choosing-a-non-relational-database-why-we-migrated-from-mysql-to-mongodb/]]></description>
		<content:encoded><![CDATA[<p>Because CouchDB doesn&#8217;t allow for ad-hoc queries. See <a href="http://blog.boxedice.com/2009/07/25/choosing-a-non-relational-database-why-we-migrated-from-mysql-to-mongodb/" rel="nofollow">http://blog.boxedice.com/2009/07/25/choosing-a-non-relational-database-why-we-migrated-from-mysql-to-mongodb/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hackeron</title>
		<link>http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/#comment-1307</link>
		<dc:creator><![CDATA[hackeron]]></dc:creator>
		<pubDate>Mon, 18 Oct 2010 02:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.boxedice.com/?p=804#comment-1307</guid>
		<description><![CDATA[Why not just use CouchDB? - It seems all these database unavailable, database repair, master-master replication, namespace limits, index creation blocking, etc are all non issues in CouchDB. Why stick with MongoDB over CouchDB?]]></description>
		<content:encoded><![CDATA[<p>Why not just use CouchDB? &#8211; It seems all these database unavailable, database repair, master-master replication, namespace limits, index creation blocking, etc are all non issues in CouchDB. Why stick with MongoDB over CouchDB?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Mytton</title>
		<link>http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/#comment-1245</link>
		<dc:creator><![CDATA[David Mytton]]></dc:creator>
		<pubDate>Tue, 21 Sep 2010 12:57:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.boxedice.com/?p=804#comment-1245</guid>
		<description><![CDATA[You can manually migrate data to different shards but it could always be moved again. You could create a shard key which is the location so that data with the same key will exist on the same shard but  there&#039;s no way to specify which shard data should exist on.

I think the best option would be to create a separate cluster within each data centre and send queries to the appropriate cluster within the application logic.]]></description>
		<content:encoded><![CDATA[<p>You can manually migrate data to different shards but it could always be moved again. You could create a shard key which is the location so that data with the same key will exist on the same shard but  there&#8217;s no way to specify which shard data should exist on.</p>
<p>I think the best option would be to create a separate cluster within each data centre and send queries to the appropriate cluster within the application logic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaco van Staden</title>
		<link>http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/#comment-1244</link>
		<dc:creator><![CDATA[Jaco van Staden]]></dc:creator>
		<pubDate>Tue, 21 Sep 2010 11:48:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.boxedice.com/?p=804#comment-1244</guid>
		<description><![CDATA[I&#039;m currently reviewing MongoDB as a possibility for going forward in our company.  I&#039;m specifically interested in setting up a location based sharding environment and running our domain code from a .Net environment.  I went through your article around how to set up the MongoDB environment with sharding and replica sets, but was wondering whether you have any advice on how to set up locale based sharding across multiple international data-centers?

Thanks for your posts, they&#039;re really useful and helpful and made life a bit easier :-)]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m currently reviewing MongoDB as a possibility for going forward in our company.  I&#8217;m specifically interested in setting up a location based sharding environment and running our domain code from a .Net environment.  I went through your article around how to set up the MongoDB environment with sharding and replica sets, but was wondering whether you have any advice on how to set up locale based sharding across multiple international data-centers?</p>
<p>Thanks for your posts, they&#8217;re really useful and helpful and made life a bit easier :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Mytton</title>
		<link>http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/#comment-1243</link>
		<dc:creator><![CDATA[David Mytton]]></dc:creator>
		<pubDate>Tue, 21 Sep 2010 08:56:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.boxedice.com/?p=804#comment-1243</guid>
		<description><![CDATA[We host with Terremark. See http://blog.boxedice.com/2010/09/10/introducing-the-new-server-density-infrastructure/]]></description>
		<content:encoded><![CDATA[<p>We host with Terremark. See <a href="http://blog.boxedice.com/2010/09/10/introducing-the-new-server-density-infrastructure/" rel="nofollow">http://blog.boxedice.com/2010/09/10/introducing-the-new-server-density-infrastructure/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Insler</title>
		<link>http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/#comment-1241</link>
		<dc:creator><![CDATA[Matt Insler]]></dc:creator>
		<pubDate>Mon, 20 Sep 2010 22:32:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.boxedice.com/?p=804#comment-1241</guid>
		<description><![CDATA[Hey, I was just wondering, where are you hosting your databases?  I&#039;m looking at running MongoDB on EC2 and trying to evaluate the speed and cost.  Do you have any numbers you&#039;d be willing to share?]]></description>
		<content:encoded><![CDATA[<p>Hey, I was just wondering, where are you hosting your databases?  I&#8217;m looking at running MongoDB on EC2 and trying to evaluate the speed and cost.  Do you have any numbers you&#8217;d be willing to share?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dude</title>
		<link>http://blog.boxedice.com/2010/02/28/notes-from-a-production-mongodb-deployment/#comment-1160</link>
		<dc:creator><![CDATA[Dude]]></dc:creator>
		<pubDate>Wed, 11 Aug 2010 03:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.boxedice.com/?p=804#comment-1160</guid>
		<description><![CDATA[Directory listing? What difference could that possibly make and why was this your only take-away from this article.

Great post David!]]></description>
		<content:encoded><![CDATA[<p>Directory listing? What difference could that possibly make and why was this your only take-away from this article.</p>
<p>Great post David!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
