MongoDB: Consistency Levels and the CAP/PACLEC Theorem

Consistency Levels and the CAP/PACLEC Theorem

There is a lot of discussion in the NoSQL community about consistency levels offered by NoSQL DBs and its relation to CAP/PACELC theorem. This article seeks to address this w.r.t MongoDB in-depth, thereby providing a broad overview of approaching CAP and PACLEC theorems from a NoSQL perspective. For a quick summary of consistency levels, please refer to Consistency Matrix towards the end of the article.

You might also enjoy:  Understanding the CAP Theorem

MongoDB Notes for the Purpose of This Article

  1. MongoDB always replicates data asynchronously from primary to secondaries. This cannot be changed.