I’ll add a few cautionary notes:

  *   JVM object overhead has memory allocation efficiency issues possible with 
heap >= 32gig, but yes to the added memory for off-heap storage and O/S buffer 
cache.
  *   C* creates a lot of threads, but the number active can sometimes be 
rather small. Depending on your usage pattern you can find a lot of cores idle; 
performance testing for your specifics is important so you don’t blow out a 
budget in the wrong direction. For example, more smaller boxes can work better 
than fewer larger boxes, in some cases.
  *   ‘stable’ has several possible interpretations in C*; does it keep 
running, does it have good throughput, does it have consistent low latency. 
Hardware selection is a variable in a non-linear function also shaped by your 
storage, performance, and fault tolerance expectations.
From: Erick Ramirez <erick.rami...@datastax.com>
Reply-To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Date: Saturday, March 28, 2020 at 12:03 AM
To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Subject: Re: Minimum System Requirements

Message from External Sender
It really depends on your definition of "stable" but you can run C* on as 
little as a single-core machine with 4-6GB of RAM. It will be stable enough to 
do 1 or 2 queries per second (or maybe a bit more) if you were just doing some 
development and wanted to do minimal testing. There are even examples out there 
where users have clusters deployed on Raspberry Pis as a fun project.

But if you're talking about production deployments, the general recommendation 
is to run it on at least 4 core machines + 16-20GB RAM if you're just testing 
it out and only expect low traffic volumes. Otherwise, it is recommended to 
deploy it on 8-core machines with at least 32-40GB RAM so you have enough 
memory to allocate to the heap. Cheers!

GOT QUESTIONS? Apache Cassandra experts from the community and DataStax have 
answers! Share your expertise on 
https://community.datastax.com/<https://urldefense.proofpoint.com/v2/url?u=https-3A__community.datastax.com_&d=DwMFaQ&c=9Hv6XPedRSA-5PSECC38X80c1h60_XWA4z1k_R1pROA&r=OIgB3poYhzp3_A7WgD7iBCnsJaYmspOa2okNpf6uqWc&m=pduZ9Cjf84al1xnPBw4QdhDWv5qWIRCfmx1wxTs7ebA&s=aaMPGwe4E0KmTIXgH9Dxwz9w29xG_KJkm44NJLTBllI&e=>.

Reply via email to