I recently had to set up an integration testing environment that involves
running multiple C* instances in containers using docker-compose. I am able
to do so with a total memory for the container set at 512 MB and a 256 MB
heap for C*. This is with C* 3.11.4. Going below 512 MB causes the
container to get OOM killed consistently. I do not have any CPU limits or
constraints currently set up. I am using out of the box settings for C*
configuration. I am not doing much with the nodes other than starting them
and allowing them to reach the UN state. I want to reiterate that this is
for an automated testing environment that can be memory constrained.

On Sat, Mar 28, 2020 at 4:43 AM A <htt...@yahoo.com.invalid> wrote:

> Thank you.
>
>
> Sent from Yahoo Mail for iPhone
> <https://overview.mail.yahoo.com/?.src=iOS>
>
> On Friday, March 27, 2020, 9:02 PM, Erick Ramirez <
> erick.rami...@datastax.com> wrote:
>
> 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/.
>
>

-- 

- John

Reply via email to