Go reading: a blog worth following and a book list to pick the next Go book from.
Links worth keeping, to 9, 4 or 7.
Pinned: Martin Kleppmann
Courses, books and posts on how databases and distributed systems work inside. The two CMU courses are the spine; the rest are reads along the way.
- CMU 15-445/645 Intro to Database Systems, Fall 2026, 15445.courses.cs.cmu.edu ↗ 15445.courses.cs.cmu.edu ↗
- CMU 15-440 Distributed Systems, andrew.cmu.edu ↗ andrew.cmu.edu ↗
- Database Internals: Where Your Data Actually Lives free online book, not the Petrov O’Reilly book, cloudstreet-dev.github.io ↗ cloudstreet-dev.github.io ↗
- How Query Engines Work Andy Grove, free book, examples in Kotlin, howqueryengineswork.com ↗ howqueryengineswork.com ↗
- SQLite on the Server Is Misunderstood Rivet, rivet.dev ↗ rivet.dev ↗
- Postgres Calculations and the Ambiguity of NULL Crunchy Data, crunchydata.com ↗ crunchydata.com ↗
- Internals for Interns software internals explained simply, internals-for-interns.com ↗ internals-for-interns.com ↗
Everything I need to read and implement consistent hashing — hash-ring partitioning, virtual nodes, and where it shows up as a load-balancing/sharding primitive. Start with the High Scalability intro, then Arpit's post, then the two implementation-focused ones.
- Consistent Hashing Algorithm High Scalability, highscalability.com ↗ highscalability.com ↗
- Consistent Hashing Arpit Bhayani, arpitbhayani.me ↗ arpitbhayani.me ↗
- Implementing Efficient Consistent Hashing Ably, ably.com ↗ ably.com ↗
- Consistent Hashing Hello Interview — System Design, hellointerview.com ↗ hellointerview.com ↗
- Consistent Hashing Implementation Medium, medium.com ↗ medium.com ↗
Everything I need to read and implement a B-Tree — node splits/merges and why they minimize disk I/O for database indexes. Start with the PlanetScale post, then the Cornell CS3110 recitation for the formal treatment, then the two overviews, then compare against B+ Trees.
- B-Trees and Database Indexes PlanetScale, planetscale.com ↗ planetscale.com ↗
- B-Trees recitation notes Cornell CS3110, cs.cornell.edu ↗ cs.cornell.edu ↗
- The Power of B-Trees Medium, medium.com ↗ medium.com ↗
- B-Trees and B+-Trees Medium, medium.com ↗ medium.com ↗
- B-Tree vs B+-Tree: Key Differences Substack, vivekbansal.substack.com ↗ vivekbansal.substack.com ↗
Everything I need to read and implement a B+ Tree — why databases use B+ over B for indexes (sequential leaf scans, no payload in internal nodes). Start with the PlanetScale course lesson, then the Berkeley CS186 notes.
Everything I need to read and implement an LSM-tree storage engine — memtable, SSTables, compaction — the write-optimized counterpart to Bitcask's single-file log. Start with the conceptual overviews, then the Go implementation walkthrough.
Everything I need to read and implement a Bloom filter — probabilistic membership testing, the false-positive-rate vs bits-per-element trade-off. Commonly paired with LSM trees to skip SSTables that can't contain a key.
Everything I need to read and implement Bitcask, Riak's log-structured hash-table storage engine — the on-disk append-only log, the in-memory keydir hash index, and compaction via merge + hint files. Start with the intro, then the original design paper, then the two build-your-own-storage-engine parts.
- Bitcask intro, Arpit Bhayani, arpitbhayani.me ↗ arpitbhayani.me ↗
- dbdb.io Bitcask overview, dbdb.io ↗ dbdb.io ↗
- Bitcask: A Log-Structured Hash Table for Fast Key/Value Data original Riak design paper, PDF, riak.com ↗ riak.com ↗
- Paper notes Bitcask: A Log-Structured Hash Table for Fast Key-Value Data, distributed-computing-musings.com ↗ distributed-computing-musings.com ↗
- Build Your Own Database Storage Engine, Part 1 Rohan Saraf, rohansaraf.substack.com ↗ rohansaraf.substack.com ↗
- Build Your Own Database Storage Engine, Part 2 Rohan Saraf, rohansaraf.substack.com ↗ rohansaraf.substack.com ↗
- Bitcask tech-lessons.in ↗ tech-lessons.in ↗
- Implementation of the Bitcask storage model: merge and hint files topic.alibabacloud.com ↗ topic.alibabacloud.com ↗
- Riak in Depth kgrvamsi.wordpress.com ↗ kgrvamsi.wordpress.com ↗
My blog — deep systems/backend dives: an 8-part Redis series, PgBouncer connection pools, sharding & replication, cache-invalidation patterns, and Artifact Registry cost optimization.
Everything the research agents surfaced, vetted and de-duplicated, in one place. Every URL was fetched and confirmed to resolve. Anything dated, dormant or thin on evidence is flagged inline rather than quietly dropped.
How to use it: the first section is the short list. The rest is a reference, not a queue — read by whatever you are actually working on, not top to bottom.
- GitHub, Oct 2018 43 seconds, 24 hours, github.blog ↗ github.blog ↗
- Slack, 22 Feb 2022 metastable failure, slack.engineering ↗ slack.engineering ↗
- AWS S3, Feb 2017 the untested recovery path, aws.amazon.com ↗ aws.amazon.com ↗
- Cloudflare, July 2019 one regex, blog.cloudflare.com ↗ blog.cloudflare.com ↗
- How NOT to Measure Latency Gil Tene, infoq.com ↗ infoq.com ↗
- Timeouts, Retries and Backoff with Jitter AWS, aws.amazon.com ↗ aws.amazon.com ↗
- The Part of PostgreSQL We Hate the Most Pavlo, cs.cmu.edu ↗ cs.cmu.edu ↗
- How we scaled nginx and saved 54 years a day Cloudflare, blog.cloudflare.com ↗ blog.cloudflare.com ↗
Everything I need to read and implement a rope. Start with the intro video, then the implementation walkthrough; the persistent-vector posts give the structural-sharing background.
- Rope Data Structure intro, YouTube, youtu.be ↗ youtu.be ↗
- Rope implementation walkthrough YouTube, youtu.be ↗ youtu.be ↗
- Understanding Persistent Vector, Pt 1 hypirion.com ↗ hypirion.com ↗
- Understanding Persistent Vector, Pt 2 hypirion.com ↗ hypirion.com ↗
- Rope Data Structure overview OpenGenus, iq.opengenus.org ↗ iq.opengenus.org ↗
"Jailbreak" — using LLMs to auto-generate direct storage readers that bypass the DB engine, up to 27x faster analytics on Postgres/MySQL.
A huge free library of books and papers.
The most influential database papers, ranked by PageRank over their citation graph.
A curated repository of seminal computer-science papers, with talks and discussion.
Approachable system-design concepts, patterns, and real-world case studies.
Curated engineering blogs from top companies, filterable by tier.
Kyle Kingsbury's (aphyr) distributed-systems class — a rigorous, hands-on intro.
The Internals of PostgreSQL — how the engine works, chapter by chapter.
Production distributed rate limiting: Redis sorted sets + Lua, a three-layer, cluster-ready design.