Vikram:

To understand how Riak Objects are 'routed' to a specific set of
partitions have a look at [1].

A little book of Riak[2] is a good introduction to the concepts. I found
it useful when I started using Riak.

I found [3],[4],[5] and [6]  very useful to understanding the
intricacies of different configurations and problems one might
experience with them.

Many thanks to John Daily for the posts.

Cheers,

[1]
http://docs.basho.com/riak/kv/2.1.4/learn/concepts/replication/#routing-an-object-to-a-set-of-partitions
[2] http://www.littleriakbook.com
[3]
http://basho.com/posts/technical/understanding-riaks-configurable-behaviors-part-1/
[4]
http://basho.com/posts/technical/understanding-riaks-configurable-behaviors-part-2/
[5]
http://basho.com/posts/technical/understanding-riaks-configurable-behaviors-part-3/
[6]
http://basho.com/posts/technical/understanding-riaks-configurable-behaviors-part-4/

On 2016-05-27 21:55, Vikram Lalit wrote:
> Thanks Alexander ... makes complete sense...
>
> On Fri, May 27, 2016 at 4:39 PM, Alexander Sicular <[email protected]
> <mailto:[email protected]>> wrote:
>
>     There is a reason Basho's minimum production deployment
>     recommendation is 5 machines. It is to ensure that, when operating
>     with default settings, each replica of any key is stored on
>     distinct physical nodes. It has to do with the allocation of
>     virtual nodes to physical machines and replica sets. Replica sets
>     are sets of virtual nodes, not physical nodes. 
>
>     When using 3 or 4 machines in your cluster reduce your n_val to 2. 
>
>     Cheers, Alexander 
>
>     On Friday, May 27, 2016, DeadZen <[email protected]
>     <mailto:[email protected]>> wrote:
>
>         np, number of nodes and ring size play a lot into that. 
>         as does your r,w settings. 
>         might be fun to create a visualization one day ;)
>
>         On Friday, May 27, 2016, Vikram Lalit <[email protected]>
>         wrote:
>
>             Ok got it thanks.
>
>             On May 27, 2016 4:02 PM, "DeadZen" <[email protected]>
>             wrote:
>
>                 reiterating my last email
>
>                 > theres no guarantee vnodes are assigned to unique servers..
>
>                 referencing the docs
>
>                 > Nodes *attempt* to claim their partitions at
>                 intervals around the ring such that there is an even
>                 distribution amongst the member nodes and that no node
>                 is responsible for more than one replica of a key.
>
>
>
>                 On Friday, May 27, 2016, Vikram Lalit
>                 <[email protected]> wrote:
>
>                     I have a Riak cluster (of 3 nodes, with 64
>                     partitions and n_val = 3) but I find that for some
>                     objects, their hosting partitions / vnodes are not
>                     spread out across the 3 nodes. In some cases, 2 of
>                     them are on 1 node and the third is on a second
>                     node. That runs contrary to my understanding (link
>                     here: 
> http://docs.basho.com/riak/kv/2.1.4/learn/concepts/clusters/)
>                     that the data is spread out across partitions in
>                     such a way that the partitions are on different
>                     servers. Is there something I'm missing here
>                     please in terms of how Riak works? Thanks...
>
>
>
>     -- 
>
>
>     Alexander Sicular
>     Solutions Architect
>     Basho Technologies
>     9175130679 <tel:9175130679>
>     @siculars
>
>
>
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Attachment: 0x2B8B4767.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to