Reputation: 23
for EX: 5 user (who read or update data in Casandra) per second. How much RAM and CPU should be increased in theory?
Upvotes: 0
Views: 131
Reputation: 16293
In production, our general recommendations are:
LOCAL_QUORUM
for both reads and writes3 nodes with a replication factor of 3 can tolerate 1 out of 3 nodes going down for reads and writes with a consistency of LOCAL_QUORUM
.
From a hardware perspective, we recommend a minimum of:
For moderate workloads, 8 cores + 24GB RAM + allocate 16GB to heap. For heavy workloads, 16 core + minimum 32GB RAM + allocate 24-31GB to heap using G1 GC. Cheers!
Upvotes: 1