“Algorithms behind Modern Storage Systems” by Alex Petrov

Access Patterns

On-Disk Data Structures

Log-Structured Merge Trees (LSM Trees) (simplified)

Immutable, disk-resident, write optimized

B-Trees (simplified)

read optimized, sorted data structure, mutable, self-balancing

Tradeoffs

algorithms_behind_storage_triangle_tradeoff.png