Blogs

I write posts to organize my mental models of computer systems.

I want to build an understanding of the world. I think that is important and satisfying.

The point is not to understand all the details; one can never exhaust the world of knowledge. The point is to build some understanding: to clarify my thoughts, describe the world as I know it, and expand upon that understanding. Once I have a mental map of different things, I know where to dig when I am intrigued to learn more.

TiKV

  1. TiKV Explained (book)

Databases

  1. Database Consistency Model
  2. Transaction Isolation Levels
  3. Datastore design: B+ tree and LSM tree
  4. MySQL and InnoDB
  5. What I know about Redis
  6. Raft
  7. Paxos
  8. Etcd
  9. TLA+

Notes

  1. Cassandra notes

Infrastructure

  1. Basic Infrastructure Components
  2. Orchestration Platform
  3. Operational Management
  4. Stream Processing

Programming Languages

  1. (Notes) Go GC algorithm

Networks

  1. Network: Socket and the network stack
  2. Network protocol: Ethernet
  3. Network protocol: IP
  4. Network: LAN and WAN
  5. Network protocol: TCP
  6. Network Protocol: BGP
  7. Network: DNS
  8. Network: CDN
  9. Network: TLS
  10. Network Protocol: HTTP, Websocket

Operating Systems

  1. Operational System Overview
  2. Computer startup process
  3. CPU scheduling/throttling
  4. System Calls
  5. File system
  6. Paging, Page Cache
  7. Memory Management

Computer Architecture

  1. A mental model of program execution from logical functions
  2. CPU <-> memory interaction
  3. CPU hyperthreading
  4. NUMA and cache coherence protocols

Hardware Physics

  1. The physics of a transistor
  2. Building logic gates from transistors
  3. DRAM under the hood (transistors and capacitors)
  4. Disks basics (HDD and SSD)

Random

  1. Definitions of software and hardware