StrataDB

A SQL database engine written from scratch, running in your browser

Source

B+tree lab

This is the exact data structure behind every StrataDB index, shown with a tiny node size so you can watch it work. Insert keys to see nodes split and the tree grow upward; delete them to see nodes borrow from siblings and merge.

internal node: separator keys only leaf node: holds the entries, linked left to right path taken by the last operation