Lab
Experiments and notes, mostly written to work something out. The long ones run in series — open a tile for its parts.
Series
2 series hft 01 / 22 labs
2026 · 26 min open close HftBacktest
nkaz001 · hftbacktest.readthedocs.io The tutorials taken one at a time and rebuilt as a working lab. The docs show you the call and its output; these notes make you run the thing underneath it, an event field decoded bit by bit, two clocks reconciled to the nanosecond, one wire event split into the two events it has to become, an order book rebuilt from only the updates that reached it.
ddia 04 / 12 chapters
2026 · 90 min open close Designing Data-Intensive Applications
Martin Kleppmann · O’Reilly, 2017 The book taken a chapter at a time and rebuilt as a recall lab. Every exhibit is something to operate rather than a figure to read past: a log compacted and merged, a B-tree descended and split, one record encoded six ways and counted byte by byte.
- ch 01 Reliable, Scalable, Maintainable Applications reliability · scalability · maintainability 18 min
- ch 02 Data Models and Query Languages data models · query languages · graphs 22 min
- ch 03 Storage and Retrieval storage engines · lsm-trees · b-trees · column storage 26 min
- ch 04 Encoding and Evolution encoding · schema evolution · avro · rpc 24 min