Skip to content
← Notes

NoSQL

Key-value, document, wide-column, and graph data models

0/9 chapters · 0 XP earned

  1. 00 NoSQL — Roadmap Four families, one question: what are your access patterns? Key-value, document, wide-column, and graph stores explained.
  2. 01 Why NoSQL Where relational databases strain at scale, the four NoSQL families, ACID vs BASE, and the cases where NoSQL is the wrong answer.
  3. 02 Key-Value Stores The simplest NoSQL model: a giant distributed hash map. Redis, DynamoDB, TTL, and the workloads where nothing beats an O(1) lookup.
  4. 03 Document Databases Store whole entities as JSON documents. MongoDB, the embedding vs referencing decision, indexing, and designing schemas around how you read.
  5. 04 Wide-Column Stores Cassandra and Bigtable: partition keys, clustering keys, query-first modeling, the write-optimized LSM path, and tunable consistency.
  6. 05 Graph Databases Nodes, edges, and properties as first-class citizens. Neo4j and Cypher, traversals, and the queries where graphs leave joins in the dust.
  7. 06 Data Modeling for NoSQL Access-pattern-first design, deliberate denormalization, single-table design in DynamoDB, and relationships when there are no joins.
  8. 07 Consistency & Replication in NoSQL Tunable and eventual consistency, quorum math, conflict resolution with LWW, vector clocks, and CRDTs, plus read repair and anti-entropy.
  9. 08 Choosing the Right Database A decision framework, polyglot persistence, SQL vs each NoSQL family, the common mistakes, and how to match a workload to a store.