Re: Embedding Custom Replication Strategy in Cassandra

2014-04-13 Thread Rahul R
Hey Jonathan, Could you give me an example ? I guess my peanut size brain is not able to comprehend it. The idea is If I have an object lets say Initially placed in EastCoast DC and replicated to WestCoast DC.(since RF = 2) Now, I observe that the read request for the same is increasing in Ire

Re: Embedding Custom Replication Strategy in Cassandra

2014-04-13 Thread Jonathan Ellis
Replica placement must be determined only by the key, otherwise you won't know where to look at read time. If your scheme is doable with that restriction then you should be able to make it work. On Sun, Apr 13, 2014 at 9:20 PM, Rahul R wrote: > I am trying to develop a custom replication algorit

Embedding Custom Replication Strategy in Cassandra

2014-04-13 Thread Rahul R
I am trying to develop a custom replication algorithm which replicates the object based on its access patterns. That means, the remote replica which is decided by the NetworkTopologyAware Strategy will need to be 1. Dynamic in Nature (afaik, the objects are statically allocated to a particular nod