~/lightning

Graduated Project Lightning Talk: Time to Live (TTL) Support for TiKV

Lightningat KubeCon + CloudNativeCon Europe 2021 · 2021-05-04..05-07· [databases]
slides:none on file

TiKV adds per-key TTL by appending an 8-byte expiry timestamp to each value, checking that expiry on reads and optionally using the PD global timestamp for linearizability; this avoids RocksDB’s single-TTL limitation. Disk reclamation uses RocksDB compaction filter drops expired entries plus a user-collected SST max-expiry property so a background worker can call CompactFiles on SSTs whose max expiry is past due. Project is graduated with ~9,000 stars, ~300 contributors and ~1,500 production adopters, and the approach reclaims space without extra reads/writes.

AI-written summary · about

  1. 0:00Introduction
  2. 0:38What is TiKV
  3. 1:26TiKV Architecture
  4. 3:23What is TTL
  5. 4:08Limitations of TTL
  6. 5:09TTL in TiKV
  7. 6:06Linearizability
  8. 9:23Outro
~/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.