~/talk

TiKV Best Practices

links:none on file
slides:none on file

TiKV is a Rust key value store using Raft + RocksDB to give ACID, external consistency and horizontal scaling and it runs under PD which manages region placement and leader distribution. Best practices include keeping three replicas, wait for tombstone before removing a store so replication finishes, identify hotspots by PD hot-region metrics and either split hot regions or migrate leaders, and tune RocksDB block cache, compression type, and TiKV thread pools to fix disk, CPU or apply-thread bottlenecks.

AI-written summary · about

  1. 0:00Intro
  2. 2:08TIKV Overview and History
  3. 6:56Architecture
  4. 12:25st Part: Theories
  5. 13:291 The 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:511.3 Demployment - Configurations
  11. 24:532.1 Scale - Add new nodes
  12. 25:442.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. 33:223.6 Fight with hotspot - Auto balancing based on statistics
  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.