Labs · MongoDB

Practice real MongoDB scenarios before they happen

Practice the MongoDB failures that hit in production — collection scans, aggregation blowups, election storms, oplog lag and sharding hot spots — against a real MongoDB sandbox.

Run rillence mongodb · real MongoDB in Docker · deterministic scoring.

What it is

A flight simulator for MongoDB operations

Boot a real MongoDB in a container, inject a realistic failure, and investigate with mongosh or your own tooling. Deterministic scoring, zero production risk.

Real MongoDB sandbox

Every scenario runs an actual MongoDB instance in a container — not a multiple-choice quiz or a video.

Real scenarios

Collection scans, aggregation blowups, election storms, oplog lag and sharding hot spots — injected into a live instance.

AI hints + deterministic scoring

Get progressive hints while you investigate, a scorecard for your fix and a postmortem explaining the root cause.

Built for individuals and teams

Practice alone, onboard new engineers, or run repeatable internal MongoDB team drills.

Scenarios

MongoDB scenarios, grouped into tracks

The MongoDB failure modes engineers actually meet in production — from explain() to replica sets and sharding.

01

Query Performance & Indexes

Core

Missing compound indexes, wrong field order, uncovered sorts, regex scans and multikey surprises.

02

Aggregation Pipeline Performance

Core

$lookup explosions, $unwind blowups, $group memory pressure and unindexed $sort.

03

Drivers, Connections & App Integration

Core

Connection-pool exhaustion, connection leaks, retryable writes and read preferences.

04

Operations, Transactions & Long-Running Work

Operations

Long transactions, lock contention, slow bulk jobs and index builds under load.

05

Replica Sets & Elections

Operations

Election storms, stepdowns that drop writes, lagging secondaries and write-concern stalls.

06

Oplog, Consistency & Read/Write Concerns

Operations

Oplog window loss, rollback, stale reads and mis-set read/write concerns.

07

Sharding, Balancer & Routing

Advanced

Hot shards, jumbo chunks, balancer storms and bad shard-key routing.

08

Storage, WiredTiger & Disk Pressure

Operations

Cache pressure, checkpoint stalls, disk-full and compaction surprises.

09

Backup, Restore & Disaster Recovery

Operations

Bad backups, slow restores, PITR gaps and recovery drills.

10

Multi-Database, Tenancy, Schema & Access

Advanced

Schema drift, tenant isolation, access scoping and multi-database operations.

11

Compound Production Incidents

Capstone

Multi-cause GameDays mixing queries, replication and sharding under pressure.

12

Incident Control

Capstone

Incident-commander scenarios coordinating diagnosis and fix under pressure.

How practice works

From paged to postmortem in four steps

Launch the lab

Run rillence mongodb to open the interactive REPL.

Start a scenario

Pick a scenario from any track and boot an isolated MongoDB sandbox.

Investigate

Connect with mongosh — or any client you already use — and dig in.

Submit and score

Get deterministic Detect / Fix / Trap scoring and a postmortem.

Practice MongoDB scenarios before they become outages

One subscription covers every lab. Train your judgment in a safe sandbox, not in production.