incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prasenjit mukherjee <prasen....@gmail.com>
Subject How to come up with a predefined topology
Date Wed, 11 Jul 2012 05:33:28 GMT
Quoting from http://www.datastax.com/docs/0.8/cluster_architecture/replication#networktopologystrategy
:

"Asymmetrical replication groupings are also possible depending on
your use case. For example, you may want to have three replicas per
data center to serve real-time application requests, and then have a
single replica in a separate data center designated to running
analytics."

Have 2 questions :
1. Any example how to configure a topology with 3 replicas in one DC (
with 2 in 1 rack + 1 in another rack ) and one replica in another DC ?
 The default networktopologystrategy with rackinferringsnitch will
only give me equal distribution ( 2+2 )

2. I am assuming the reads can go to any of the replicas. Is there a
client which will send query to a node ( in cassandra ring ) which is
closest to the client ?

-Thanks,
Prasenjit

Mime
View raw message