One practical matter to also keep in mind is the number of nodes you must scale 
to and by.

The recommended minimum nodes when running Riak in production is five servers. 
Once you start with that minimum, scaling is a matter of adding single nodes as 
you need them, six to seven to eight and so on.

Conversely, mongo scales by threes (one master and two secondary's in a 
replset). So you start with three, then six, then nine, etc.

Hope that helps,
Eric

On Mar 31, 2013, at 1:23 PM, Mark Phillips <[email protected]> wrote:

> Hey Norman, 
> 
> On Mon, Mar 25, 2013 at 8:43 AM, Norman Khine <[email protected]> wrote:
>> hello,
>> would you have any cost comparison analysis document which looks at a
>> running a riak cluster versus mongodb sharded cluster, i am asking as
>> i have been tasked to compare the cost of infrastructure when the
>> volume of data is large. We are storing the information of our users
>> advertising campaigns
>> on a collection of about 30 million documents now, which would increase.
>> Each document is composed of elements that are arrays of objects (the
>> objects for a given elements have the same structure) We now have 6
>> elements that can be composed of 1 to many objects (up to 50-100)
>> Any advice much appreciated.
> 
> Right now there's nothing purpose built that compares the operation/scaling 
> costs of Riak and Mango. On the anecdotal side of things, Will Moss wrote a 
> great email to the list a while back about what to keep in mind when making 
> the transition [1]. 30MM documents in Riak is trivial. The queries are 
> probably going to be a bit harder to translate...
> 
> That said, let's see if we can quantify this for you. A few questions: 
> 
> How many docs do you expect to have in six months?
> What are the queries you're doing on them?
> Current total data set size?
> What's the median ops/second? Max?
> Read to write ratio?
> Current cluster hardware specifics and cloud provider (if applicable) if you 
> can share.
> 
> Thanks, 
> 
> Mark 
> 
> [1]  
> http://riak.markmail.org/search/?q=moss%2C+mongo#query:moss%2C%20mongo+page:1+mid:vkmeuu6ailcguecl+state:results
>  
>> --
>> %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or
>> chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )
>> 
>> _______________________________________________
>> riak-users mailing list
>> [email protected]
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to