incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: Ec2Snitch + NetworkTopologyStrategy if only in one region?
Date Tue, 12 Apr 2011 18:57:44 GMT
NTS is overkill in the sense that it doesn't really benefit you in a
single DC, but if you think you may expand to another DC in the future
it's much simpler if you were already using NTS, than first migrating
to NTS (changing strategy is painful).

I can't think of any downsides to using NTS in a single-DC
environment, so that's the "safe" option.

On Tue, Apr 12, 2011 at 1:15 PM, William Oberman
<> wrote:
> Hi,
> I'm getting closer to commiting to cassandra, and now I'm in system/IT
> issues and questions.  I'm in the amazon EC2 cloud.  I previously used this
> forum to discover the best practice for disk layouts (large instance + the
> two ephemeral disks in RAID0 for data + root volume for everything else).
> Now I'm hoping to confirm bits and pieces of things I've read about for
> snitch/replication strategies.  I was thinking of using
> endpoint_snitch: org.apache.cassandra.locator.Ec2Snitch
> placement_strategy='org.apache.cassandra.locator.NetworkTopologyStrategy'
> (for people hitting this from the mailing list or google, I feel obligated
> to note that the former setting is in cassandra.yaml, and the latter is an
> option on a keyspace).
> But, I'm only in one region. Is using the amazon snitch/networktopology
> overkill given everything I have is in one DC (I believe region==DC and
> availability_zone==rack).  I'm using multiple availability zones for some
> level of redundancy, I'm just not yet to the point I'm using multiple
> regions.  If someday I move to using multiple regions, would that change the
> answer?
> Thanks!
> --
> Will Oberman
> Civic Science, Inc.
> 3030 Penn Avenue., First Floor
> Pittsburgh, PA 15201
> (M) 412-480-7835
> (E)

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support

View raw message