~/talk

TiKV Best Practices

Talkat KubeCon + CloudNativeCon China 2019 · on Monday, 2019-06-24· [databases, rust]
links:none on file
slides:none on file

TiKV is a Rust database that uses Raft + RocksDB to deliver horizontal scalability, high availability and externally-consistent transactions; the talk covers concrete ops: PD detects hot read/write regions, splits small regions, and automates leader transfer and replica balancing across racks and DCs, with a store lifecycle (offline → tombstone) to avoid data loss during scale in. Practical tuning includes thread-pool sizing, RocksDB compression and block cache tweaks, and monitoring metrics that reveal CPU, disk I/O or apply stalls.

AI-written summary · about

  1. 0:00Intro
  2. 2:08TIKV Overview and History
  3. 6:56Architecture
  4. 12:25st Part: Theories
  5. 13:29The topology of a TIKV cluster
  6. 18:503.1 Scale - Transfer leader
  7. 20:27Ecosystem
  8. 20:462rd Part: Practices
  9. 22:421.2 Deployment - Cross IDC
  10. 23:521.3 Demployment - Configurations
  11. 24:532.1 Scale - Add new nodes
  12. 25:582.2 Scale - Remove old nodes
  13. 28:373.1 Fight with hotspot
  14. 29:253.2 Fight with hotspots - Good design
  15. 30:213.4 Fight with hotspots - Find write hotspot
  16. 31:033.5 Fight with hotspot - Find read hotspot
  17. 34:173.6 Fight with hotspot - Auto balancing based
  18. 35:413.7 Fight with hotspot - Manual balance
  19. 37:064.1 Performance tuning - Find bottlenecks
  20. 39:244.3 Performance tuning . Read in RocksDB
~/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.