Skip to content
This repository was archived by the owner on Sep 11, 2018. It is now read-only.
This repository was archived by the owner on Sep 11, 2018. It is now read-only.

add -tune micro/small/medium/large/huge flag #21

@tobert

Description

@tobert

Similar to how mysql ships my.cnf-huge etc. add a flag that gets different presets in cassandra.yaml and the sprokfile. micro should be tuned for Raspberry Pi. Huge should be G1 and 32+GB RAM. etc. On startup of a node the user can specify and get a reasonably good starting place for tuning:

docker run -d --net=host -v /data tobert/cassandra -tune standard -name "my std cluster"

Might make sense to add some cloud instance presets too, such as "i2.xlarge" etc.?

First pass:

Add sproks with the JVM flags in them named cassandra-preset-small.yaml etc.. The entrypoint will copy the correct file. The presets for cassandra.yaml might go in another yaml chunk rather than copying whole files around. Goal: keep it easy to review what's different across the sizes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions