NoSQL Databases (Redis, MongoDB, Apache Cassandra, DynamoDB)
Model and run Redis, MongoDB, Apache Cassandra, Amazon DynamoDB, Firestore, Neo4j, InfluxDB and TimescaleDB from access patterns, with every example run.
4 lessons: 4 free with Pro answers.
Examples run with Python 3.14.8.
Who it is for
Back-end and mobile developers choosing and modelling non-relational databases.
What you will be able to do
- Turn product requirements into an access-pattern table and derive keys, indexes and partitions from it
- Choose between Redis, MongoDB, Apache Cassandra, DynamoDB and a relational database for a workload, and record why
- Use Redis data structures, streams, scripts and the Redis 8 query engine correctly, and run Redis safely
- Design MongoDB schemas with documented patterns, validators and ESR indexes, and read explain plans
- Model Apache Cassandra tables query first, size partitions and choose consistency levels and compaction
- Design DynamoDB single-table and multi-table models with secondary indexes, transactions, streams and TTL
- Plan capacity, cost and failure handling (hot keys, throttling, failover, repair, backups) and secure each database
- Test data-access code against containers and emulators while knowing each emulator's gaps and each licence
- Model property graphs with bounded Cypher and GQL-style queries, and time series without cardinality blow-ups
- Model Cloud Firestore and Realtime Database data with tested rules, and compare Azure Cosmos DB with the other stores
Revise and practise
- Practice: every exercise and quiz (4 exercises, 4 quizzes)
Modules and lessons
What the labels mean
- Free lesson, Pro answers
- the whole lesson is free; the model answers to its interview questions open with a pass
- Pro
- opens with a Pro, Premium or Ultimate pass
Minutes are reading time.
What a pass opens in this track
8 interview answers. The same pass opens every other track and every Pro tool.
- Module 1
Foundations: data models, partitions and consistency
The four data models, designing from access patterns, partitioning and hot keys, replication and consistency, and a local lab with the four databases bound to 127.0.0.1.
- What NoSQL means today: four data models Free lesson, Pro answers: 20 minutes
- Design from access patterns, not from entities Free lesson, Pro answers: 20 minutes
- Partitioning, hashing and hot keys Free lesson, Pro answers: 20 minutes
- Replication, quorums and consistency models Free lesson, Pro answers: 20 minutes
Official documentation
- Redis documentation (Redis Ltd.)
- MongoDB Database Manual (MongoDB, Inc.)
- Apache Cassandra documentation (The Apache Software Foundation)
- Amazon DynamoDB Developer Guide (Amazon Web Services)