~/talk

How We Reduced Write Latency in TiKV?

name:Liqi Geng
links:none on file
slides:none on file

Raftstore turns out to be the biggest write-latency bottleneck, so the team extracts disk work into a dedicated IO thread and implements asynchronous ready (not Linux AIO) plus a synchronous-IO coordination path. Benchmarks show async IO raises QPS by >30% and cuts 99th-percentile store-duration to roughly one-third, 99.9th to about half. Applying unpersisted entries (seen in ~1/6 of tests) further trims 99th latency by ~40%. Command-batching and parallel apply are next optimizations.

AI-written summary · about

  1. 0:00Introduction
  2. 0:36What is TiKV
  3. 1:17Why we need low average latency
  4. 1:52Why we need low tail latency
  5. 2:47Latency of the right phase
  6. 3:44Roughstore
  7. 5:16Star Series
  8. 6:20Source Series
  9. 6:38Rough Model
  10. 7:31Sequence Diagram
  11. 10:53Flowchart
  12. 11:45Message Duration
  13. 14:01Results
  14. 14:59Still duration
  15. 16:52Benchmark
  16. 17:16Future Work
  17. 17:38Outro
~/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.