﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on RavenDB Sharding &amp;ndash; Blind sharding</title><description>Bob,
that depends on how you setup the system. You can do sharding AND replication that means that you have a second node ready to work if the first one is down.</description><link>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment14</link><guid>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment14</guid><pubDate>Mon, 09 Apr 2012 18:14:52 GMT</pubDate></item><item><title>Bob Horn commented on RavenDB Sharding &amp;ndash; Blind sharding</title><description>What happens when when of the shards goes down, especially the first one? Will another shard take over the hilo duties?</description><link>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment13</link><guid>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment13</guid><pubDate>Mon, 09 Apr 2012 14:43:45 GMT</pubDate></item><item><title>Ayende Rahien commented on RavenDB Sharding &amp;ndash; Blind sharding</title><description>Hendry,
Cross docs transactions till work, yes.
As you'll see today in the next post, we handle things in such a fashion that we have great locality of reference, so most of those features just work.

Things like Unique Constraints cannot work in this fashion, because they assume they have access to the entire data set, but there are other things that can be doe to make this work</description><link>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment12</link><guid>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment12</guid><pubDate>Tue, 20 Mar 2012 06:49:40 GMT</pubDate></item><item><title>Hendry Luk commented on RavenDB Sharding &amp;ndash; Blind sharding</title><description>One of RavenDb's selling points is cross-document transactions. Would this still work in a sharded setup? And likewise with data constraints (such as unique-constraint).
Also, will it be possible to configure your sharding in a routing server (like mongos) rather than within each client?</description><link>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment11</link><guid>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment11</guid><pubDate>Tue, 20 Mar 2012 02:10:46 GMT</pubDate></item><item><title>Matthew Shapiro commented on RavenDB Sharding &amp;ndash; Blind sharding</title><description>How easy is it to go from blind sharding to a specialized sharding strategy later?  Seems like it would be easier to figure out your sharding strategy right away based on the load points of your single RavenDB instance and do sharding properly from the beginning.</description><link>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment10</link><guid>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment10</guid><pubDate>Mon, 19 Mar 2012 16:10:32 GMT</pubDate></item><item><title>Ayende Rahien commented on RavenDB Sharding &amp;ndash; Blind sharding</title><description>Daniel,
You _are_ correct with regards to that, sure.
Except that you are missing tomorrow's post, which deals with that.

But even so, you are still not considering an important fact. Blind sharding is super important to let you start playing with sharding, without a big hurdle of the initial cost</description><link>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment9</link><guid>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment9</guid><pubDate>Mon, 19 Mar 2012 15:25:51 GMT</pubDate></item><item><title>Ayende Rahien commented on RavenDB Sharding &amp;ndash; Blind sharding</title><description>Rafal,
Wait for the next post, it discusses how we handle merging queries. :-)
And you usually shard based on expected load, rather than actual data size.</description><link>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment8</link><guid>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment8</guid><pubDate>Mon, 19 Mar 2012 15:24:41 GMT</pubDate></item><item><title>Daniel Lang commented on RavenDB Sharding &amp;ndash; Blind sharding</title><description>This is a very nice feature, obviously. However, I'm not sure if it was worth the effort:

If someone needs to have sharded instances, then he plays the _big data_ game, which means he will have to put a serious amount of effort into his application and will certainly need to get a very good understanding of RavenDB anyway. Because this simple round-robin won't be sufficient in these situations, he would definitely want to implement his own sharding strategy to have full control over where the documents go. All the others that aren't comfortable writing their own sharding-strategy won't have such demanding applications and therefore only want replication and not sharding if any clustering at all. 

Altogether, very good job, but if find it unlikely that someone will use it that way.</description><link>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment7</link><guid>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment7</guid><pubDate>Mon, 19 Mar 2012 15:09:06 GMT</pubDate></item><item><title>edward commented on RavenDB Sharding &amp;ndash; Blind sharding</title><description>this just makes me drool.

</description><link>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment6</link><guid>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment6</guid><pubDate>Mon, 19 Mar 2012 14:21:33 GMT</pubDate></item><item><title>Rafal commented on RavenDB Sharding &amp;ndash; Blind sharding</title><description>Can you tell when it's time to switch from single database to sharded? Is it number of records or database size? 
And another one: how does Ravendb perform queries across shards? I assume it glues the results at the client - is this true? What about paging and sorting then?</description><link>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment5</link><guid>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment5</guid><pubDate>Mon, 19 Mar 2012 13:02:06 GMT</pubDate></item><item><title>Allen commented on RavenDB Sharding &amp;ndash; Blind sharding</title><description>@Damien, hahaha, me too!!!</description><link>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment4</link><guid>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment4</guid><pubDate>Mon, 19 Mar 2012 11:02:50 GMT</pubDate></item><item><title>Damien commented on RavenDB Sharding &amp;ndash; Blind sharding</title><description>In the first 3 screenshots - I spent far too long trying to work out why you were censoring the available commands - before realising you were underlining the URLs instead.</description><link>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment3</link><guid>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment3</guid><pubDate>Mon, 19 Mar 2012 09:28:43 GMT</pubDate></item><item><title>Ayende Rahien commented on RavenDB Sharding &amp;ndash; Blind sharding</title><description>Itay,
You would need to do some migration in order to go there, yes.</description><link>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment2</link><guid>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment2</guid><pubDate>Mon, 19 Mar 2012 08:34:59 GMT</pubDate></item><item><title>Itay Sagui commented on RavenDB Sharding &amp;ndash; Blind sharding</title><description>What about moving from a non-sharded environment to a sharded environment?
Is there a magic solution, or do we need to write or own migration code to pull data from the old environment, and put it in the new environment?</description><link>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment1</link><guid>http://ayende.com/155297/ravendb-sharding-blind-sharding#comment1</guid><pubDate>Mon, 19 Mar 2012 08:33:21 GMT</pubDate></item></channel></rss>