Sagar,

The beauty of Riak's use of consistent hashing is that you don't have to worry 
about the exact location of your data. It is automatically replicated to `n` 
vnodes (default: 3). You can specify a write quorum value, `w`. Writes won't be 
considered successful until they have been written to `w` vnodes. I suggest you 
read the following section of the wiki: 
http://wiki.basho.com/Tunable-CAP-Controls-in-Riak.html. You may want review 
the entire Riak Fast Track (http://wiki.basho.com/The-Riak-Fast-Track.html); it 
will get you up to speed on the basics of Riak.

Ian Plosker
Developer Advocate
Basho Technologies

On Nov 17, 2011, at 1:59 AM, Sagar Virani wrote:

> Respected Sir/Madam,
> 
> I want to know whether we can get the exact location of the data that is 
> placed on to the Riak Cluster. Say, for example, the cluster consists of 100 
> nodes viz. n1 to n100. We put some data, say, d1 from the node n5. The 
> replication parameter is 3. The riak sends this data to say, nodes n35 and 
> stores it. This will be replicated on n36 and n37 (considering all the nodes 
> is the cluster are up all the time). I want to know that whether we can know 
> from Riak about this that d1 resides on nodes n35, n36 and n37? 
> 
> It is a distributed database and this kind of functionality should not be 
> there as it can be very dangerous but i want to implement such thing in my 
> project and trying to find whether its possible or not with Riak.
> 
> Regards,
> 
> Sagar Virani
> _______________________________________________
> 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