Tag: design-system
All the articles with the tag "design-system".
-
System Design - How the Linux I/O Scheduler Works
How the Linux I/O scheduler works: the block layer, request merging and sorting, multi-queue architecture, mq-deadline, BFQ, kyber, and how schedulers interact with storage devices.
-
System Design - How Hash Tables Work Internally
How hash tables work under the hood: hash functions, collision resolution (chaining vs open addressing), load factors, resizing strategies, Robin Hood hashing, and a source code walkthrough of Go's built-in map.
-
System Design - How CPU Out-of-Order Execution Works
How modern CPUs execute instructions out of order: the fetch-decode-rename-dispatch-execute-retire pipeline, register renaming, reservation stations, reorder buffer, and how it all maintains the illusion of sequential execution.
-
System Design - How Service Meshes Work (Envoy & Istio)
How service meshes work: sidecar proxy architecture, Envoy's threading model, xDS dynamic configuration, Istio control plane, mTLS, traffic management, and observability — with ASCII diagrams and source code references.
-
System Design - How Linux cgroups Work
How Linux control groups (cgroups) work: resource isolation and limiting for processes, the filesystem interface, v1 vs v2 architecture, memory/cpu/io/pids controllers, kernel internals, OOM killer integration, and how Docker and Kubernetes use cgroups to build containers.
-
System Design - How Filesystem Journaling Works
How filesystem journaling works: the crash consistency problem, write-ahead logging in ext4/jbd2, journal transactions, checkpointing, ordered vs writeback vs journal modes, and a source code walkthrough from the Linux kernel.