question

somrcha1_186924 avatar image
somrcha1_186924 asked Erick Ramirez commented

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

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 Erick Ramirez commented

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

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

somrcha1_186924 avatar image somrcha1_186924 commented ·

Thanks Erick. It helps !!

0 Likes 0 ·
Erick Ramirez avatar image Erick Ramirez ♦♦ somrcha1_186924 commented ·

Not a problem. Cheers!

0 Likes 0 ·