17:15
-
17:35
-
17:35
Day 1
LSM vs. B‑Tree: RocksDB and WiredTiger for Cloud‑Native Distributed Databases
<p>Cloud-native databases often use open-source embedded key-value stores on each node or shard. OLTP workloads are read- and write-intensive, typically relying on indexes for data access. Two main on-disk structures are prevalent: B-Trees, such as <a href="https://github.com/wiredtiger/wiredtiger">WiredTiger</a>, and LSM-Trees, like <a href="https://github.com/facebook/rocksdb">RocksDB</a>.
This talk explores the similarities and differences in their internal implementations, as well as the trade-offs among read, write, and storage amplification. It also compares these structures to traditional fixed-size block storage in RDBMS and discusses the differences in caching the working set in memory and ensuring durability through write-ahead logging.</p>