Structuring a three site Cassandra cluster -


i have 3 nodes cluster in 1 location (let's call main), , want add 2 new locations (let's remote1 , remote2).

the use case i'm trying address sort of logging, want remote1 , remote2 able log data fast , reliably. opted 3 new nodes in each remote location, on persist using local_quorum, data replicated main location read app.

my problem if both remote location write in same column family, replication factor { 'remote1': 3, 'remote2': 3, 'main': 1 } data remote1 replicated remote2 , vice-versa, don't want.

one solution have 2 different column families each replication factor of { 'remotex': 3, 'main': 1 } end data split , less easy read.

is there way acheive this?

no, there not way have data centers in cassandra "hub , spoke" persistence strategy 1 keyspace. if don't want data persisted data centers have use multiple keyspaces. 1 remote1 , main, , remote2 , main.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -