Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Reference Codebases

The user-provided list plus additions, annotated with what each is best for studying. Clone the ones in active use to ~/repos/.

Your codebases (baseline)

RepoBest for
FalkorDB/FalkorDBSparse-matrix graph engine, redis module architecture. Two engines: master = the C engine (4.x releases); main = the Rust engine (6.x releases). The C anchors in the guides are read at ccb449a9a, the C engine (FalkorDB 4.x)
FalkorDB/falkordb-rs-next-genRust graph engine rewrite. Archived; its code lives on FalkorDB/FalkorDB main as FalkorDB 6 (history on the main-rs branch)

From your list

RepoLangBest for
redis/redisCdict incremental rehash, skiplists, event loop, RESP, AOF/RDB, rax
valkey-io/valkeyCio-threads/multithreading evolution vs redis — diff the two!
qdrant/qdrantRustHNSW, filtered ANN, quantization, raft consensus
surrealdb/surrealdbRustmulti-model design, transaction layer over pluggable KV
facebook/rocksdbC++LSM at industrial scale: compaction, block cache, txn utilities
tursodatabase/tursoRustSQLite rewrite: B-tree, pager, WAL, io_uring, DST
neo4j/neo4jJavarecord-store graph layout, Cypher planner
HelixDB/helix-dbRustgraph+vector combined engine (young codebase, easy to read)
memgraph/memgraphC++in-memory graph, skip-list storage, MVCC
ravendb/ravendbC#Voron storage engine (COW B+tree), document DB design
fjall-rs/fjallRustthe readable Rust LSM — small enough to read fully
tidesdb/tidesdbCcompact C LSM, easy first read
duckdb/duckdbC++vectorized execution, optimizer, columnar compression — very readable
postgres/postgresCMVCC, WAL, buffer manager, planner — the canon

Suggested additions

RepoLangBest for
sqlite/sqliteCbtree.c, pager, VDBE — most-deployed DB on earth
LMDB (openldap/mdb)Ccopy-on-write B+tree, single-file mmap design
skyzh/mini-lsmRustguided course — build an LSM step by step (use in topic 4)
cmu-db/bustubC++CMU 15-445 teaching DB: buffer pool, B+tree, txn labs
erikgrinaker/toydbRustreference for the capstone: raft + MVCC + SQL, written to teach
apache/datafusionRustArrow-native query engine — planner + vectorized exec in Rust
pola-rs/polarsRustvectorized columnar engine: lazy optimizer, streaming exec, SIMD kernels — DuckDB’s Rust rival
kuzudb/kuzuC++columnar graph storage, worst-case optimal joins (topic 13). Archived; last commit 2025-10-10 is the pin. Community continuation: LadybugDB/ladybug (history diverges before the pin).
cwida/duckpgq-extensionC++SQL/PGQ as a DuckDB extension: MATCH → joins, on-the-fly CSR + multi-source BFS UDFs, factorized-join optimizer pass (topic 46)
cberner/redbRustclean embedded COW B-tree in Rust
spacejam/sledRustBw-tree-inspired engine; read its post-mortems too
tikv/tikvRustraft-rs, distributed txn (Percolator) — topic 15
apple/foundationdbC++deterministic simulation testing gold standard — topic 16
ClickHouse/ClickHouseC++columnar OLAP at the extreme; read specific MergeTree parts only
unum-cloud/usearchC++compact single-header HNSW — topic 14
DrTimothyAldenDavis/GraphBLASCSuiteSparse internals — go deeper than the API you already use
GraphBLAS/LAGraphCgraph algorithms as linear algebra — the reference library over GraphBLAS (topics 20, 24)
Z3Prover/z3C++SMT solver: query-equivalence proving, invariant checking (topic 16); also a perf-engineering masterclass
quickwit-oss/tantivyRustinverted index / full-text engine — the readable Lucene (topic 23)
apache/luceneJavathe canon of search: codecs, FSTs, segment merging (topic 23)
elastic/elasticsearchJavadistributed search architecture over Lucene: shards, scatter-gather (topic 23)
RediSearch/RediSearchCsearch as a redis module — your ecosystem’s approach (topic 23)
leanprover/lean4C++/Leantheorem proving + Perceus RC runtime (topic 21)
modular/mojoMojoSIMD-first language on MLIR, CPU+GPU kernels (topics 17, 18)
TimelyDataflow/differential-dataflowRustincremental computation — the real thing (topic 27)
neondatabase/neonRustdisaggregated postgres: pageserver, safekeepers, branching (topic 28)
slatedb/slatedbRustLSM directly on object storage — small, modern (topic 28)
prometheus/prometheusGotsdb/: readable time-series storage (topic 30)
influxdata/influxdbRustIOx: DataFusion+Parquet+object storage combined (topics 11/12/28/30)
RoaringBitmap/CRoaringCcompressed bitmaps: container switching, SIMD set ops (topics 23, 26)
automerge/automergeRustCRDT engine — state/op-based, columnar op storage (topic 31)
loro-dev/loroRustfast modern CRDT engine, great perf blog posts (topic 31)
graphistry/pygraphistryPythonGPU graph ETL/analytics on RAPIDS cuDF/cuGraph, GFQL query layer — production analog to Gunrock’s research code (topics 18, 24)
apache/iceberg-rustRustIceberg table format: fast append, manifest lists, commit retry (topic 49)
delta-io/delta-rsRustDelta log: put-if-absent commits, conflict checker, checkpoints (topic 49)
future-file-format/f3RustF3: per-column FlatBuffer metadata, embedded Wasm decoders (topic 49)
duckdb/ducklakeC++DuckLake: table metadata as SQL tables in a catalog database (topic 49)

What the file:line anchors were read against

The reading guides quote a few thousand file:line anchors into the codebases above. A line number only means something next to the commit it was read at, so every clone the guides reference is pinned here — once, rather than in each guide, so the record stays consistent instead of drifting per file.

Refresh the mention counts with python3 tools/pin-table.py, or --check to see whether the table is stale and which of your clones have moved off their pin. A pin is sticky: regenerating never moves it, however far the clone’s HEAD has wandered. Re-pinning is --bump NAME, done only after the guides citing NAME have been re-checked against the new commit. Both read ~/repos (override with DLP_CLONES), so this is a local command — CI has no clones and does not check it. Rows for clones that are not on your machine are kept as they are; tools/pinned-source.py fetches the pinned commit for those.

Clone to ~/repos/<name> and git checkout the listed commit if you want the anchors to land exactly; on a newer commit expect the structure to match and the line numbers to have moved. The mention count is there to tell you which clones are worth fetching first.

cloneread atdatedmentionsorigin
deltaa7d08222026-10-251014https://github.com/delta-io/delta
duckdbd54cbbe3df2026-10-20634https://github.com/duckdb/duckdb
FalkorDBccb449a9a2026-07-15624https://github.com/FalkorDB/FalkorDB
redise87dda2a42026-10-26604https://github.com/redis/redis
postgres701f0212026-07-10541https://github.com/postgres/postgres
rocksdbea31360532026-10-23331https://github.com/facebook/rocksdb
GraphBLAS77013904172026-10-25277https://github.com/DrTimothyAldenDavis/GraphBLAS
neon8f60b042026-05-25228https://github.com/neondatabase/neon
sqlite951de302026-07-09207https://github.com/sqlite/sqlite
datafusion350ca76502026-10-26196https://github.com/apache/datafusion
qdrant222b2e44a2026-10-21191https://github.com/qdrant/qdrant
valkey668d875ca2026-10-24182https://github.com/valkey-io/valkey
tursoa820079e82026-10-15176https://github.com/tursodatabase/turso
jemalloc0697b612026-10-24147https://github.com/jemalloc/jemalloc
egg73975c92026-09-28144https://github.com/egraphs-good/egg
fjallcfcdce32026-10-25144https://github.com/fjall-rs/fjall
hashbrown00c17562026-10-25137https://github.com/rust-lang/hashbrown
leanstore90fcf182025-09-11134https://github.com/leanstore/leanstore
memgraph8f87f6a2026-07-09132https://github.com/memgraph/memgraph
ALP31ca0ed2025-10-16112https://github.com/cwida/ALP
iceberg47677ab2026-10-25110https://github.com/apache/iceberg
neo4jeccd584a2026-07-02109https://github.com/neo4j/neo4j
lotus136ae4f2026-07-03108https://github.com/lotus-data/lotus
clickhousec6428eb2026-10-24103https://github.com/ClickHouse/ClickHouse
polars7f902bd3ff2026-10-25103https://github.com/pola-rs/polars
z31d425e52026-07-0996https://github.com/Z3Prover/z3
LAGraphe2539e22025-09-0895https://github.com/GraphBLAS/LAGraph
ligra87632022024-02-1893https://github.com/jshun/ligra
lsm-tree8526dd32026-07-0586https://github.com/fjall-rs/lsm-tree
f3bd925062025-11-0381https://github.com/future-file-format/f3
eggloge264c37a2026-08-2580https://github.com/egraphs-good/egglog
kuzu89f02632025-10-1075https://github.com/kuzudb/kuzu
lmdb704dc702026-06-2475https://github.com/LMDB/lmdb
mimalloc8b08dbb2026-10-2369https://github.com/microsoft/mimalloc
raft-rsad13f3d2026-05-1369https://github.com/tikv/raft-rs
materializeb06b3d62026-07-1066https://github.com/MaterializeInc/materialize
sortledton6eb638f2021-11-1765https://gitlab.db.in.tum.de/per.fuchs/sortledton
bbtreef0a5d362026-10-2563https://github.com/XiangpengHao/bbtree
prometheusf282b5c2026-07-1062https://github.com/prometheus/prometheus
tiflashb5093dd2026-07-0962https://github.com/pingcap/tiflash
teseo2c37c282022-06-1559https://github.com/cwida/teseo
ascente52c84b2026-08-2955https://github.com/s-arash/ascent
tantivy7152d532026-07-1054https://github.com/quickwit-oss/tantivy
tikveb8dd652026-07-0954https://github.com/tikv/tikv
bf-treeca613072026-08-1953https://github.com/microsoft/bf-tree
hypothesis49a797bdf2026-08-2553https://github.com/HypothesisWorks/hypothesis
memchr5fdb40c2026-07-0753https://github.com/BurntSushi/memchr
ducklake947c8492026-10-2449https://github.com/duckdb/ducklake
go-ycsbf030f992025-12-3149https://github.com/pingcap/go-ycsb
BlockSci14ccc932020-11-1348https://github.com/citp/BlockSci
pgwire6bb62992026-06-2948https://github.com/sunng87/pgwire
cockroacha7e117882026-07-0645https://github.com/cockroachdb/cockroach
usearch9fd6b012026-05-2444https://github.com/unum-cloud/usearch
delta-rs26ea54f2026-10-2542https://github.com/delta-io/delta-rs
LiveGrapheea5a402021-04-0542https://github.com/thu-pacman/LiveGraph
rayon6d9e94b2026-06-2742https://github.com/rayon-rs/rayon
ALEX4370da62024-03-1240https://github.com/microsoft/ALEX
benchbase33c00472025-12-1340https://github.com/cmu-db/benchbase
cudf2f082a72026-07-1040https://github.com/rapidsai/cudf
slatedb323ed1b2026-07-1040https://github.com/slatedb/slatedb
tidesdb810507a2026-07-1039https://github.com/tidesdb/tidesdb
gunrock748f79e2026-02-0936https://github.com/gunrock/gunrock
SimSIMD63a254f2026-05-2335https://github.com/ashvardanian/SimSIMD
wgpuf945c782026-07-1035https://github.com/gfx-rs/wgpu
sqlanceraf6ae852026-06-2133https://github.com/sqlancer/sqlancer
gapbsb5e3e192024-05-1132https://github.com/sbeamer/gapbs
RediSearch87276ca2026-07-0931https://github.com/RediSearch/RediSearch
raft.tla6ecbdbc2025-02-1830https://github.com/ongardie/raft.tla
foundationdb4c775a92026-07-1029https://github.com/apple/foundationdb
raphtory5d0d2862026-07-2129https://github.com/Pometry/Raphtory
simdjsonc7838092026-07-1028https://github.com/simdjson/simdjson
tidbb94006d2026-07-1028https://github.com/pingcap/tidb
iceberg-rust26356f52026-10-2627https://github.com/apache/iceberg-rust
palimpzest807ed302026-04-1327https://github.com/mitdbg/palimpzest
splink04189f52026-07-2327https://github.com/moj-analytical-services/splink
quickwita5ad5402026-07-0826https://github.com/quickwit-oss/quickwit
risingwave119de0a2026-07-1025https://github.com/risingwavelabs/risingwave
surrealdb9d9a5b02026-07-0225https://github.com/surrealdb/surrealdb
crossbeam6b7458d2026-07-1024https://github.com/crossbeam-rs/crossbeam
cozo481af052024-12-0423https://github.com/cozodb/cozo
cr-sqlite891fe9e2024-10-2521https://github.com/vlcn-io/cr-sqlite
lorob81abfc2026-07-0720https://github.com/loro-dev/loro
diamond-typesad48b9c2026-05-2919https://github.com/josephg/diamond-types
sqlparser-rsaeb616f2026-07-0319https://github.com/apache/datafusion-sqlparser-rs
influxdbd7834112026-06-1718https://github.com/influxdata/influxdb
roaring-rs83caaca2026-04-2418https://github.com/RoaringBitmap/roaring-rs
arrow-rsfed78622026-07-1017https://github.com/apache/arrow-rs
GraphRAG-SDKf42ab3d2026-04-1216https://github.com/FalkorDB/GraphRAG-SDK
spicedb84224832026-07-2416https://github.com/authzed/spicedb
cranelift-jit-demo3e5e9b62025-11-0715https://github.com/bytecodealliance/cranelift-jit-demo
falkordb-rs-next-gen9d28bdc62026-07-2915https://github.com/FalkorDB/falkordb-rs-next-gen
VictoriaMetricsc1e39b22026-07-1015https://github.com/VictoriaMetrics/VictoriaMetrics
automergec39339d2026-07-1014https://github.com/automerge/automerge
bloodhound19683882026-07-2413https://github.com/SpecterOps/BloodHound
felderabb490552026-07-1013https://github.com/feldera/feldera
ips4o08a5b922025-01-1510https://github.com/ips4o/ips4o
RedisBloomab734fa2026-07-059https://github.com/RedisBloom/RedisBloom
cuvs8b97b612026-07-107https://github.com/rapidsai/cuvs
differential-dataflow3f279da2026-05-297https://github.com/TimelyDataflow/differential-dataflow
soufflef53dab82026-10-026https://github.com/souffle-lang/souffle
falkordb-py122df792026-07-195https://github.com/FalkorDB/falkordb-py
PGM-indexc6fcf3d2024-11-285https://github.com/gvinciguerra/PGM-index
pytorch_geometric1f0661c2026-06-195https://github.com/pyg-team/pytorch_geometric
RustyTaintChain4e12fd02021-03-055https://github.com/TaintChain/RustyTaintChain
io-uringa5171782026-09-074https://github.com/tokio-rs/io-uring
webgraph-rs8ce86022026-10-264https://github.com/vigna/webgraph-rs
duckpgq-extension29ca668a2026-10-213https://github.com/cwida/duckpgq-extension
y-crdt03e14a02026-06-123https://github.com/y-crdt/y-crdt
antithesis-sdk-rust78c9db52026-06-122https://github.com/antithesishq/antithesis-sdk-rust
ducklake-web42237d52026-10-262https://github.com/duckdb/ducklake-web
hashjoins-meet-cxl0aeea0d2026-01-302https://github.com/fukien/hashjoins-meet-cxl
helix-db47191c62026-07-052https://github.com/HelixDB/helix-db
timely-dataflow15fc7c92026-06-122https://github.com/TimelyDataflow/timely-dataflow