2

We have a scenario for which we are considering using apache Cassandra for deployment for our data storage needs.The setup is to be spread across multiple data centers in different regions(physical locations). With each data center having multiple nodes. However we can afford at most 1 public IP address for each data center. With nodes inside the data center communicating over private IP. We plan to use RF=3 and OldNetworkTopologyStrategy for replica placement.

1 . This leads us to question that how will node discovery take place and how will Cassandra ring be formed between multiple data centers?

  1. How is data partitioning to be carried on in this scenario?

  2. If say data resides in Data center 1 node 2 and read query is sent to Data center 2 node 1, assuming it DC2 has no local replica than how is read query to be serviced? This is our biggest concern as articles relating to public/private IPs for cassandra could not be found.

As in Cassandra any node can be queried for data and same goes for write requests, cassandra is our first choice in environments we have to deploy.

1 Answer 1

1

You'll need to set up a VPN; Cassandra assumes each node can communicate directly with each other node (even though it does perform efficient multi-DC writes, i.e., only sends one copy to each DC where a coordinator will forward it to others, if necessary).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .