Course
MongoDB Engineering
A practitioner's course on document modeling, indexes, aggregation, transactions, replica sets, and the uncomfortable question of when MongoDB is the wrong tool.
Reviews
Enrolled members can rate this course.
No reviews yet.
Document Data Modeling
Model documents around access patterns, choose embedding deliberately, and evolve schemas without pretending they do not exist.
- 01Documents Are Access Patterns, Not EntitiesStart with reads, writes, growth, and consistency boundaries instead of translating relational tables into JSON-shaped rows.25mOpen
- 02Embedding vs. Referencing Without DoctrineUse cardinality, ownership, update frequency, and growth to choose between embedded subdocuments and references — not ideological purity.26mOpen
- 03Schema Validation and Evolution in a Schemaless SystemUse JSON Schema validators, disciplined migrations, and versioned shapes so flexible documents do not become untyped production folklore.24mOpen
Queries, Indexes, and Correctness
Shape indexes and aggregation pipelines around real workloads, then use transactions and write concerns with clear eyes.
- 01Indexes Are Query Shapes, Not DecorationRead explain output, understand compound key order, and design indexes around equality, sort, range, and selectivity instead of adding indexes reactively.28mOpen
- 02Aggregation Pipelines in PracticeBuild aggregation pipelines that filter early, use indexes where possible, avoid accidental memory bombs, and produce evidence rather than mystery.27mOpen
- 03Transactions, Write Concerns, and Honest ConsistencyUse multi-document transactions sparingly, understand write concern and read concern combinations, and design for retryable writes rather than perfect certainty.28mOpen
Replication, Scaling, and Fit
Operate replica sets, understand failover and scaling limits, and recognize when a document database is the wrong architectural choice.
- 01Replica Sets, Elections, and Failover RealityUnderstand primaries, secondaries, elections, oplog lag, rollback, and operational drills before trusting replication as a availability strategy.26mOpen
- 02Sharding, Capacity, and the Cost of Horizontal GrowthTreat sharding as an operational commitment driven by shard keys, routing, balancing, and workload distribution rather than a simple scale button.25mOpen
- 03When MongoDB Is the Wrong ChoiceRecognize relational invariants, ad hoc joins, strict reporting, and operational complexity cases where PostgreSQL or another tool is simply better.23mOpen