Inside RocksDB LSM-Tree Compaction: Strategies, Trade-offs, and Production Tuning
How RocksDB picks compaction strategies, what each one costs you in write amplification and read latency, and the knobs that matter in production.
How RocksDB picks compaction strategies, what each one costs you in write amplification and read latency, and the knobs that matter in production.
A practical deep dive into how bloom filters are integrated into LSM-tree storage engines to slash read amplification, with concrete examples from RocksDB, Cassandra, and ScyllaDB.
How modern distributed databases turn the write-amplification problem into a throughput advantage, and what it costs you on the read path.
How RocksDB’s compaction strategies trade off write amplification, read amplification, and space amplification — and how to tune them for real workloads.
A field guide to running small language models locally on CPUs, NPUs, and modest GPUs. Covers INT4/INT8 quantization, structured and unstructured pruning, KV-cache tuning, batching, and how to measure what actually matters.