Quantitative analysis of consistency in NoSQL key-value stores

Si Liu, Son Nguyen, Jatin Ganhotra, Muntasir Raihan Rahman, Indranil Gupta, José Meseguer

Research output: Chapter in Book/Report/Conference proceedingConference contribution


The promise of high scalability and availability has prompted many companies to replace traditional relational database management systems (RDBMS) with NoSQL key-value stores. This comes at the cost of relaxed consistency guarantees: key-value stores only guarantee eventual consistency in principle. In practice, however, many key-value stores seem to offer stronger consistency. Quantifying how well consistency properties are met is a non-trivial problem. We address this problem by formally modeling key-value stores as probabilistic systems and quantitatively analyzing their consistency properties by statistical model checking. We present for the first time a formal probabilistic model of Apache Cassandra, a popular NoSQL key-value store, and quantify how much Cassandra achieves various consistency guarantees under various conditions. To validate our model, we evaluate multiple consistency properties using two methods and compare them against each other. The two methods are: (1) an implementation-based evaluation of the source code; and (2) a statistical model checking analysis of our probabilistic model.

Original languageEnglish (US)
Title of host publicationQuantitative Evaluation of Systems - 12th International Conference, QEST 2015, Proceedings
EditorsJavier Campos, Boudewijn R. Haverkort
Number of pages16
ISBN (Print)9783319222639
StatePublished - 2015
Event12th International Conference on Quantitative Evaluation of Systems, QEST 2015 - Madrid, Spain
Duration: Sep 1 2015Sep 3 2015

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349


Other12th International Conference on Quantitative Evaluation of Systems, QEST 2015

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science


Dive into the research topics of 'Quantitative analysis of consistency in NoSQL key-value stores'. Together they form a unique fingerprint.

Cite this