Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

satvantsingh_190085 avatar image
satvantsingh_190085 asked ·

Why isn't there a snitch for Azure?

Why there is no snitch specifically for Azure same like for AWS and GCP

snitchazure
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Erick Ramirez avatar image
Erick Ramirez answered ·

The snitches are donated to the Apache Cassandra project from the respective cloud providers. For example, GoogleCloudSnitch was contributed by Brian Lynch (CASSANDRA-7132) who at the time was a Google Cloud Architect and CloudstackSnitch was contributed by Pierre-Yves Ritschard (CASSANDRA-7147) who is CTO at Exoscale, a Cloudstack provider.

Yoshua Wakeham submitted AzureSnitch (CASSANDRA-9387) but it stalled pending the release of C* 4.0 so it's not available yet.

I understand the convenience that a cloud provider snitch affords users but one can argue that even when your organisation exclusively uses a specific provider, GossipingPropertyFileSnitch should still be the default choice. GPFS is more flexible and works with hybrid clouds -- you can have a mix of nodes in AWS, Azure, GCP and even on-premise.

Let's say your company exclusively uses GCP at the moment. When you decide to expand your cluster to another cloud provider, you'll need to change to a provider-agnostic snitch like GPFS. Snitches determine how replicas are distributed in a cluster and so switching snitches requires a lot of planning and it can be a costly exercise. For this reason, we recommend using GossipingPropertyFileSnitch right from the start in all cases.

For more info, see the doc pages on Snitches and Switching snitches. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

smadhavan avatar image
smadhavan answered ·

@satvantsingh_190085, GossipingPropertyFileSnitch works optimal and best across any type of environment (on-prem or in cloud). This should be your go-to snitch for production use. At the time of writing, there is no snitch available in particular for Azure.

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.