From the course: NoSQL Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

CAP theorem

CAP theorem - NoSQL Tutorial

From the course: NoSQL Essential Training

Start my 1-month free trial

CAP theorem

- [Instructor] All right, let's geek out a little bit with CAP Theorem. CAP stands for Consistency, Availability, and Partition tolerance. And it states, we can only have two out of three of those items. Consistency here means that, data throughout the system is the same. It's when accuracy is of highest importance, so you're going to think banking, high-stakes transactions, maybe online deposits to your checking account. Availability relates to users being able to write and read the data regardless of failures in the network. And finally, partition tolerance means that the system is up and running, working as expected even if some of the network is down. Because we can only choose two out of these three very important factors, CAP Theorem helps us form intelligent decisions when choosing the right database for our needs. Relational databases, overall don't offer partition tolerance, nor do they offer high…

Contents