Side Quests
Optional deep dives for the curious
What are Side Quests?
Side Quests are optional deep dives into topics that come up in the main learning path. They're for when you see something and think "but how does THAT work?"
You don't need to complete these to understand the main content. But if you're curious, they'll give you a deeper understanding of the underlying mechanisms.
Variable-Length Integers
Coming SoonHow to encode integers in 1-10 bytes instead of always using 4 or 8. The clever trick used by Protocol Buffers, SQLite, and RocksDB.
Building an LRU Cache
Coming SoonImplement a Least Recently Used cache from scratch. Understand the data structures that make O(1) get and put possible.
The Linux Page Cache
Coming SoonThe invisible cache between your code and the disk. Why read() doesn't actually read from disk, and when fsync() matters.