incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Dusbabek <>
Subject Re: finding Cassandra servers
Date Wed, 03 Mar 2010 13:57:32 GMT
2010/3/3 Ted Zlatanov <>:
> On Mon, 01 Mar 2010 12:15:11 -0600 Ted Zlatanov <> wrote:
> TZ> I need to find Cassandra servers on my network from several types of
> TZ> clients and platforms.  The goal is to make adding and removing servers
> TZ> painless, assuming a leading window of at least 1 hour.  The discovery
> TZ> should be automatic and distributed.  I want to minimize management.
> TZ> Round-robin DNS with a 1-hour TTL would work all right, but I was
> TZ> wondering if Bonjour/Zeroconf is a better idea and what else should I
> TZ> consider.
> So... is this a dumb question or is there no good answer currently to
> discovering Cassandra servers?
> Ted

Nothing in the current codebase currently meets these needs.  But then
again, cassandra doesn't need the described functionality.  Zeroconf
confines itself to a single subnet (would require router configuration
to work across subnets so that multicast goes through).  RRDNS would
work, but something would need to keep that updated when servers go
away (it wouldn't be automatic).

If you can count on one of your (seed nodes) to be up, RRDNS could be
used to connect to one of them and fetch the token range list.  To do
this, create a thrift client and call describe_ring.  In older
versions you can get a jsonified endpoint map by calling
get_string_property('token map').

Hope that helps.


View raw message