6. How the NoSQL Products Vary What’s the same No joins No complex transactions What varies Scale-out model Consistency model Data model
7. Scaling Out distribution & query models Consistent hashing Order preserving range chunking Scatter gather
8. Data models no joins + light transactional semantics = horizontally scalable architectures Important side effect : new data models = improved ways to develop apps
13. CAP It is impossible in the asynchronous network model to implement a read/write data object that guarantees the following properties:• Availability• Atomic consistency in all fair executions (including those in which messages are lost).
14. Consistency Models - CAP Choices are AP or CP Write Availability, not Read Availability, is the Main Question It’s not all about CAP Eventual consistency makes these non-availability aspects better: Multi data center Speed Even load distribution
23. Sometimes we need global state / more consistency Unique key constraints User registration ACL changes Are we surprising the user? read-your-own-writes
24. Could it be the case that… uptime( CP + average developer ) >= uptime( AP + average developer ) where uptime:= system is up and non-buggy?
25. Predictions JSON will be the most popular building block for non-relational data models Tunable consistency in all the products Some SQL in these products!