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

somrcha1_186924 avatar image
somrcha1_186924 asked ·

Should I use SimpleStrategy for app keyspaces?

[FOLLOW UP QUESTION TO #9054]

Should I use Simple Strategy (As i dc i rack) or Network topology (in case 1 DC 1 Rack is accepted now but in future they want to expand)

replication
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.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

We always recommend using NetworkTopologyStrategy for application keyspaces even if you have no intention of deploying multi-DC clusters.

This strategy will future-proof your clusters so that when you do expand your cluster, it's a lot simpler to reconfigure your keyspaces by just adding the new DC.

In your case where you are already anticipating future expansion, it makes sense to just use NetworkTopologyStrategy.

For more info, see Data replication in Apache Cassandra. Cheers!

2 comments 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.

Thanks Erick. It helps !!

0 Likes 0 · ·

Not a problem. Cheers!

0 Likes 0 · ·