~/talk

The Journey to Achieve 1000x TPS for a Real-World Core Banking Application on TiDB

Talkat Percona Community Live 2022 · 2022-06-21..06-23· [databases]
links:none on file
slides:none on file

A real deployment on ARM64 TiDB starts at QPS 1 and reaches 1,200 after systematic fixes: fix three slow queries with a composite index and enable index-merge (QPS → 30), rework topology and double TiDB instances with NUMA binding and CPU/memory affinity (QPS → 600), fix HAProxy session limits, use LVS or client-side load balancing, correct disk and NIC placements (QPS → 880), push tombstones and scale app JVMs (QPS → 1,200). Diagnosis uses mpstat, flamegraph, perf, go trace and Grafana, and improvements rely on a higher plan cache hit ratio.

AI-written summary · about

  1. 0:00Intro
  2. 0:15Abstract
  3. 1:08Introduction
  4. 2:18User Response Time
  5. 5:46Real-world case
  6. 6:05Background
  7. 6:59Workload analysis - Read Heavy
  8. 10:55Full table scan vs Index merge
  9. 11:43TPS up to 30
  10. 11:59Topology adjustment
  11. 12:47Where is the bottleneck?
  12. 15:17Duration VS Connection Idle Duration
  13. 18:45The impact of Numa
  14. 19:32New topology
  15. 20:23HAProxy 2000 session limit
  16. 21:07Proxy solution
  17. 21:52Env Fix
  18. 24:31Final result
  19. 25:32DB time Analysis
  20. 26:28Plan Cache hit ratio
  21. 27:35Query performance vs GoLang GC
  22. 29:54Plan stability challenge
  23. 31:29Always stale statistics
  24. 32:35The optimizer enhancement requests
  25. 33:26Key Takeways
  26. 34:38TiDB Evolution For Mission-Critical OLTP
~/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.