S10RAGE Docs
Welcome to S10RAGE, the engineer's reference manual for data storage fundamentals, hardware physics, operating system I/O primitives, storage engine data structures, and distributed persistence architectures.
Modeled after the depth, precision, and clarity of Mozilla Developer Network (MDN Web Docs), S10RAGE provides deep technical documentation for database developers, infrastructure architects, and systems programmers.
The 7 Pillars of Modern Storageโ
graph LR
A["Hardware Physics"] --> B["Kernel & OS I/O"]
B --> C["Storage Engines"]
C --> D["Database Systems"]
D --> E["Distributed Storage"]
E --> F["Data Formats"]
F --> G["Caching Layers"]
1. Physical Layer & Hardware Mediaโ
Understand the mechanical sympathy required to squeeze performance out of silicon.
- Memory Hierarchy & Latency Numbers: CPU caches, DRAM, NVMe PCIe lanes, and nanosecond physics.
- NAND Flash, FTL & SSD Internals: Flash Translation Layer (FTL), SLC/MLC/TLC/QLC cells, wear leveling, and TRIM.
- HDDs & Magnetic Recording: Rotational latency, CMR vs SMR, and head arm mechanics.
2. Kernel & OS Storage Subsystemโ
How operating systems bridge user-space applications and disk controllers.
- Virtual File System (VFS) & Page Cache: Dirty page writeback, buffer heads, and readahead algorithms.
- io_uring vs epoll vs POSIX AIO: Linux 5.x+ submission/completion queue rings and true zero-copy asynchronous I/O.
- Direct I/O (O_DIRECT) & Memory Mapped I/O (mmap): Bypassing the page cache and userspace buffer management.
3. Storage Engines & Data Structuresโ
The computational building blocks that organize bits on disk.
- B-Trees & B+ Trees: Page layout, branch splitting, prefix compression, and write amplification.
- LSM Trees & Compaction: MemTables, SSTables, Bloom filters, and Leveled vs Size-Tiered compaction.
- Append-Only Logs & SkipLists: Segmented logs, zero-copy socket transfers, and in-memory indexing.
4. Database Storage Architecturesโ
How modern relational and analytical databases guarantee durability and consistency.
- Row-Oriented vs Columnar Storage: OLTP vs OLAP, vectorization, dictionary encoding, and SIMD scanning.
- Write-Ahead Logging (WAL) & ARIES Recovery: Checkpointing, physiological logging, and Analysis-Redo-Undo passes.
- MVCC & ACID Isolation Levels: Snapshot isolation, write skew, 2-phase locking, and tuple visibility.
5. Distributed Storage & Consensusโ
Scaling persistence across fault-prone networks and machine boundaries.
- Consistent Hashing & Quorum Consensus: Dynamo architectures, virtual nodes, vector clocks, and .
- Raft Consensus Protocol: Leader election, log replication, safety invariants, and joint consensus.
- Object Storage & S3 Internals: Immutable blobs, Reed-Solomon erasure coding, and bit rot detection.
6. Data Formats & Compressionโ
Binary serialization and encoding efficiency.
- Parquet, Avro & Apache Arrow: Dremel record shredding, columnar chunks, and memory sharing.
- Compression Algorithms & Trade-offs: Zstandard, LZ4, Snappy, and Gorilla compression benchmarks.
7. Caching & Memory Managementโ
Accelerating data access via multi-tier caching architectures.
- Cache Eviction Algorithms: LRU, LFU, ARC, Clock, and W-TinyLFU (Caffeine).
- Caching Topologies: Cache-aside, read-through, write-through, and write-behind.
Interactive Playgrounds & Toolsโ
- โฑ๏ธ Latency Numbers Explorer: Compare access latencies from CPU registers to intercontinental cables.
- ๐งญ Storage Engine Decision Matrix: Pick the right storage engine structure for your access patterns.
- ๐ฌ LSM Compaction Visualizer: Step through MemTable flushes and background SSTable compactions.