The MockStruct journal

How it actually
works inside.

Algorithms taken apart next to the production systems that run them, tools opened up to the bytes, and the failures that take real services down. Written to be checked, not taken on trust.

Every post cites the documentation or engineering write-up it came from, and every lesson is something you can reproduce on your own machine.

Learn by trying

Start here

3 POSTS / 3 HANDS-ON LESSONS

Algorithms

The data structure, and the system that actually runs on it.

01

Systems

How the tools you use every day really work inside.

02
Git

How Git stores your code (and why a branch is 41 bytes)

A commit does not save a diff. Git writes a handful of small files named after the hash of their own contents, then writes 41 bytes to move a branch. Once you see that, half of Git stops being strange.

~7 min readYou have run git commit before
Read the story

Engineering problems

The failures that take real systems down at 3am.

03

Reading is the beginning.

Evict a key the way Redis does, build a commit whose hash Git agrees with, or send twenty clients at an expiring cache. Every post has a lesson you can run without an account.

Explore Quick Learn

Independent explanations with primary sources. Product and project names identify the work being studied; they do not imply affiliation or endorsement.