Bplustree.app
bplustree.app
bplustree.app
Why not binary trees? Because random memory fetch can incur high latency. How to size max node size? -> Aim for L1 or cache line size; Just like like we make ring buffers fit into L2/L3.
https://planetscale.com/blog/btrees-and-database-indexes
In short, B+trees are good because the nodes can be set to match the size of a disk page.