Olivier Michallat
Driver & tools engineer, DataStax
Hello,
I am trying to expose Cassandra as a service to an end-user . The end-user would typically request for a <n>-node cassandra cluster. Once the cluster is provisioned , the user should be able to bind this cassandra service instance to his app. In the java driver , we need to provide ip's of the cassandra seed nodes. Instead of providing the ip, could I provide a single dns name which would map to a public ip of a node in the cassandra cluster ? What are the best practices of exposing a cassandra cluster in a public cloud ? Should I have an HAProxy in front of the cluster to do this ? I know this would be a bad option since it defeats the purpose with which the client drivers have been built and would introduce a bottleneck. Thoughts ?
--
You received this message because you are subscribed to the Google Groups "DataStax Java Driver for Apache Cassandra User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-us...@lists.datastax.com.
On Feb 17, 2016, at 2:11 AM, Rohit Sardesai <rohits...@gmail.com> wrote:
Hello,
I am trying to expose Cassandra as a service to an end-user . The end-user would typically request for a <n>-node cassandra cluster. Once the cluster is provisioned , the user should be able to bind this cassandra service instance to his app. In the java driver , we need to provide ip's of the cassandra seed nodes. Instead of providing the ip, could I provide a single dns name which would map to a public ip of a node in the cassandra cluster ? What are the best practices of exposing a cassandra cluster in a public cloud ? Should I have an HAProxy in front of the cluster to do this ? I know this would be a bad option since it defeats the purpose with which the client drivers have been built and would introduce a bottleneck. Thoughts ?
--
Olivier Michallat
Driver & tools engineer, DataStax
We intend to provide the db as a service in a public cloud, so in production we would be targeting typically 1000+ nodes deployed across multiple regions. The three node cluster was just an example.