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 node in the DHT and replica is placed to a node in a subsequent node in the ring which will be mostly a node in some other DC ) . I intend to change this at run time by changing the object location without compromising the consistency guarantees. The main motive is to place the objects closer to user. With my limited knowledge on cassandra, I am not sure how to achieve the same. thus, I was wondering on how to implement the same by overriding NetworkTopologyAware<https://github.com/QwertyManiac/cassandra-cdh4/blob/master/src/java/org/apache/cassandra/locator/NetworkTopologyStrategy.java> class file in java, Any suggestion ? I want to know how ridiculous this idea is ? how feasible is it , is there any other alternative to achieve the same ? Looking for criticisms. ./Rahul