Architecture Map · src/

Inside the rustdb engine. Eight small pieces working together.

Start with a calm bird's-eye view. Click any module below to read its job in plain English, then jump into the animated labs.

Interactive Source Map

Pick a module to inspect

DiskDatabase (src/storage.rs)
Deep-Dive Labs

Watch the engine move

Animated Traces A–D

Follow SQL step-by-step

Play, pause, or scrub frame-by-frame through CREATE TABLE, INSERT, SELECT, and WAL crash recovery.

Open Animated Traces →
Interactive Storage Lab

Play with 4KB pages, B-Trees & WAL

Insert rows into a 4KB slotted page, watch a DiskBTree lookup beam trace row_id -> RecordId, and crash-test the WAL tape.

Open Interactive Storage Lab →

Ready to watch an entire query move end-to-end?

Open Animated Traces A–D Open 4KB Storage Lab