doudejans / web-scale-data-management

Project work for IN4331 Web-scale Data Management
0 stars 2 forks source link

Keyspace Replication #10

Open nbelzer opened 4 years ago

nbelzer commented 4 years ago

Currently by default of the template each key-space has the following default values for replication:

CREATE KEYSPACE IF NOT EXISTS {config['database']} with replication = {{
  'class':'SimpleStrategy','replication_factor':1
}};

I'm wondering if this replication factor is something we could play with during our experiments.

leicmi commented 4 years ago

We should, running a paxos protocol (for the lightweight transactions) on 1 cassandra instance seems pretty pointless as we'd most likely not experience the performance impact.

plammerts commented 4 years ago

Agreed, we can indeed play with the 'SimpleStrategy' and 'NetworkTopologyStrategy' strategies and do some performance tests while altering the replication factors in a small experiment. https://docs.datastax.com/en/dse/5.1/dse-arch/datastax_enterprise/dbArch/archDataDistributeReplication.html