Deploying Cassandra across Multiple Data Centers
Cassandra is a distributed system designed for deployment across multiple data centers. Key features include Replication Factor, Replica Placement Strategy (NetworkTopologyStrategy), Snitch, and Consistency Level (LOCAL_QUORUM and EACH_QUORUM). These components can be configured to optimize geographical distribution, redundancy, failover, disaster recovery, or analytics. An example configuration for two data centers includes NetworkTopologyStrategy with a Replication Factor of 3 in each data center, RackInferringSnitch, and LOCAL_QUORUM as the consistency level for both reads and writes. This setup minimizes network latency while maintaining reasonable data consistency.
Company
DataStax
Date published
March 23, 2011
Author(s)
Eric Gilmore
Word count
457
Language
English
Hacker News points
None found.