All Projects → calvinlfer → compose-cassandra-cluster

calvinlfer / compose-cassandra-cluster

Licence: other
A Docker Compose blueprint describing the creation of a 3 node cluster

Projects that are alternatives of or similar to compose-cassandra-cluster

FsCassy
Functional F# API for Cassandra
Stars: ✭ 20 (+25%)
Mutual labels:  cassandra
amazon-keyspaces-toolkit
Docker Image /tools for working with Amazon Keyspaces.
Stars: ✭ 25 (+56.25%)
Mutual labels:  cassandra
delta
DDD-centric event-sourcing library for the JVM
Stars: ✭ 15 (-6.25%)
Mutual labels:  cassandra
docker-elassandra
Docker Image packaging for Elassandra
Stars: ✭ 25 (+56.25%)
Mutual labels:  cassandra
verticegateway
REST API server with built in auth, interface to ScyllaDB/Cassandra
Stars: ✭ 25 (+56.25%)
Mutual labels:  cassandra
cassandra4io
Asynchronous lightweight fs2 and cats.effect.IO wrapper under datastax cassandra 4.x driver with doobie-like syntax
Stars: ✭ 40 (+150%)
Mutual labels:  cassandra
cassandra-client
Cassandra 3 GUI client
Stars: ✭ 49 (+206.25%)
Mutual labels:  cassandra
fastdata-cluster
Fast Data Cluster (Apache Cassandra, Kafka, Spark, Flink, YARN and HDFS with Vagrant and VirtualBox)
Stars: ✭ 20 (+25%)
Mutual labels:  cassandra
Data-Engineering-Projects
Personal Data Engineering Projects
Stars: ✭ 167 (+943.75%)
Mutual labels:  cassandra
data-processing-pipeline
Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka and Cassandra
Stars: ✭ 79 (+393.75%)
Mutual labels:  cassandra
opennms-drift-kubernetes
OpenNMS Drift Deployment in Kubernetes for testing and learning purposes
Stars: ✭ 15 (-6.25%)
Mutual labels:  cassandra
cassandra-migration
Apache Cassandra / DataStax Enterprise database migration (schema evolution) library
Stars: ✭ 51 (+218.75%)
Mutual labels:  cassandra
cdrs-tokio
High-level async Cassandra client written in 100% Rust.
Stars: ✭ 54 (+237.5%)
Mutual labels:  cassandra
EFCore.Cassandra
Entity Framework Core provider for Cassandra
Stars: ✭ 23 (+43.75%)
Mutual labels:  cassandra
usergrid-docker
Build and run Usergrid 2.1 using Docker
Stars: ✭ 41 (+156.25%)
Mutual labels:  cassandra
kubernetes-examples
A bunch of examples of how to deploy things on kubernetes
Stars: ✭ 34 (+112.5%)
Mutual labels:  cassandra
hector
a high level client for cassandra
Stars: ✭ 51 (+218.75%)
Mutual labels:  cassandra
lagom-on-kube
This tutorial describes how to bootstrap a production-ready Lagom microservices cluster in a Kubernetes environment.
Stars: ✭ 58 (+262.5%)
Mutual labels:  cassandra
cassandra-nginx-cdn
Some config files and POC code to use Apache Cassandra as distributed storage for HLS chunks accross multiple datacenters and scripts for converting/transcoding UDP MPEG-TS to HLS and vice versa. The idea is take from Globo.com’s Live Video Platform for FIFA World Cup ’14.
Stars: ✭ 24 (+50%)
Mutual labels:  cassandra
vos whatsapp
vangav open source - whatsapp; generated using vangav backend:
Stars: ✭ 14 (-12.5%)
Mutual labels:  cassandra

Cassandra Cluster in Docker

A docker-compose blueprint that describes a 3 node Cassandra cluster. It only exposes important Cassandra ports on the seed node to the host machine. Internally, all of the nodes will be a part of the same Docker network and will form a cluster using that Docker network.

Instructions

In order to bring up the cluster:

  • Use docker-compose up to see the logs of all the containers
  • Use docker-compose up -d if you want it to run in the foreground

In order to clean up the cluster, use docker-compose down

Notes

You need to make sure that the Docker daemon has enough of resources otherwise you will encounter exit code 137 (Out of Memory Killer) on your containers.

When you create a single node cluster and you try to add more nodes to the cluster, you must add them one by one. This means that you cannot have multiple nodes join the cluster (by pointing to the seed node) at the same time. You must add a cluster, wait for it to join the ring and stabilize before you can begin to add another cluster. This is why you will see an additional delay on start up between the non-seed nodes. If you attempt to join a new node whilst stabilization has not yet been achieved, you will see an error like this:

ERROR [main] 2017-08-22 23:19:11,055 CassandraDaemon.java:706 - Exception encountered during startup
java.lang.UnsupportedOperationException: Other bootstrapping/leaving/moving nodes detected, cannot bootstrap while cassandra.consistent.rangemovement is true

This article discusses the implications of turning cassandra.consistent.rangemovement off.

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].