Tag: design-storage
All the articles with the tag "design-storage".
-
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 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.
-
System Design - How Git Internals Work
How Git works under the hood: the four object types (blob, tree, commit, tag), content-addressable storage, refs and branches, the staging area (index), packfiles and delta compression, and merge strategies — with ASCII diagrams and source code walkthrough from the git/git repository.
-
System Design - How Redis Persistence Works
How Redis persists data to disk: RDB snapshots via fork() and copy-on-write, AOF (Append Only File) logging, fsync policies, AOF rewriting, and the hybrid RDB+AOF approach. Source code walkthrough from the redis/redis repository.