GithubHelp home page GithubHelp logo

cassandra-client-ha's Introduction

Cassandra Client Behavior

This project stands up a 2-node cassandra cluster with a node each on its own dc - dc1 and dc2.

Start it up with

docker-compose up -d

Documentation

https://docs.datastax.com/en/dseplanning/docs/metricsandalerts.html https://docs.datastax.com/en/developer/java-driver/4.14/manual/core/load_balancing/#cross-datacenter-failover

Build the JAR

gradle clean build

Run the following tasks:

Tests

Option 1

when both are up and one goes down

does not recover

when local DC is down

does not start

Option 2

when both are up and one goes down

does not recover until DC comes up

when local DC is down

does not connect

Option 3

when both are up and one goes down

switches to another dc

when local DC is down

does not initiate connection to remote initially

Option 4

when both are up and one goes down

switches to another dc
recovers when another dc is up

when local DC is down

switches to another dc

Option 5

when both are up and one goes down

when local DC is down

Option 6

when both are up and one goes down

recovers when DC is up

when local DC is down

uses another DC

Option 7

when both are up and one goes down

recovers when DC is up

when local DC is down

cassandra-client-ha's People

Contributors

skhatri avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.