~/talk

Questioning Database Claims: Design Patterns of Storage Engine

Talkat GopherCon India 2024 · 2024-11-11..11-13· [databases]
slides:none on file

Examines concrete storage choices: append-only WAL + fsync after every write vs batched fsyncs, B+tree indexes and Bloom filters for reads, and LSM with memtable flushes for write-heavy workloads. Recounts building a strongly consistent distributed key‑value layer, handling ~21,000 TPS (≈120,000 RPS) and moving from Postgres→Cassandra→in‑memory→kdb when Cassandra became costly at scale. Recommends Rocks/Pebble with fsync for audit logs, Bolt for single‑node config, and LSM engines for high write throughput.

AI-written summary · about

  1. 0:00Introduction and context
  2. 3:13Storage engine foundations
  3. 5:54Pattern 1: Persistence
  4. 10:10Pattern 2: Efficient retrieval
  5. 14:43Pattern 3: Efficient ingestion
  6. 18:02Applying patterns to use cases
  7. 21:49Q&A and system architecture
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.