Sathish
Sathish

Reputation: 69

Cassandra Database replication to another instance

Is it possible to do Cassandra data replication into another server instance to run read only data operations on it? As we have explored SAN and it become more hardware expensive

Note: I am not allowed to copy data into file and therefore. It should be like mirroring of data.

Upvotes: 1

Views: 456

Answers (1)

Mandraenke
Mandraenke

Reputation: 3266

You can use Cassandras internal replication for this. Use NetworkTopologyAwarePolicy and configure a second datacenter where data will be replicated to (can be lower than your production cluster). Then use this datacenter for your read-only workload and the other one for production.

Your application needs to be reconfigured to use LOCAL_QUORUM or another LOCAL consistency level so the second datacenter isn't used for requests.

This technique is uses for separating resource demanding analytic workloads from the rest for example.

Upvotes: 1

Related Questions