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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -