Giter Site home page Giter Site logo

java-mod-10-cassandra-guarantees's Introduction

Cassandra Data Guarantees and Tradeoffs

Learning Goals

  • Understanding CAP model of data guarantees
  • Understanding limitations of Cassandra

Introduction

NoSQL Database systems do avoid the performance bottlenecks inherent in RDBMS systems. However, this is done by making fundamental changes to the Data reliability model. Where we had ACID compliance and strong consistency with RDBMS, most NoSQL systems are what is known as "Eventually Consistent". This approach trades some of the strong ACID implemented Data guarantees for better flexibility and scalability.

You can read a brief overview of this design consideration(CAP Theorem) in the Cassandra documentation

A benefit of Cassandra's design is that these considerations can be tuned for any given transaction. You could select from one extreme of requiring all nodes to acknowledge reads and writes, to the other extreme of only needing an acknowledgment from a single node. This does directly play into the performance of the system however, so maximum consistency in Cassandra could be less performant than equivalent Relational systems.

Implementing this into Spring Data applications is also easy, requiring only a single property to be set by default.

java-mod-10-cassandra-guarantees's People

Contributors

brianmurphyfis avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.