Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Predictable single-digit millisecond latency #16865

Open
6 tasks
zhangjinpeng87 opened this issue Apr 17, 2024 · 0 comments
Open
6 tasks

Predictable single-digit millisecond latency #16865

zhangjinpeng87 opened this issue Apr 17, 2024 · 0 comments
Assignees
Labels
type/enhancement Type: Issue - Enhancement

Comments

@zhangjinpeng87
Copy link
Member

Background

As the general storage layer of other mission critical RDMBS database like TiDB, predictable single-digit millisecond latency makes a lot of sense. But the latency of TiKV can be spike under some cases like temporarily slow IO, TiKV node restarted, data range (region) leader transferred to another TiKV node, there are some background jobs like import, data range replica re-balanced, scale-in some TiKV nodes, etc.

Development Task

  • Slow disk IO impact the write latency
  • Too many MVCC versions impact the read latency
  • Scale-in TiKV nodes cause read/write latency spike
  • Background jobs impact read/write latency
  • Restart a TiKV node cause read latency spike
  • Leader transfer cause read latency spike
@zhangjinpeng87 zhangjinpeng87 added the type/enhancement Type: Issue - Enhancement label Apr 17, 2024
@zhangjinpeng87 zhangjinpeng87 self-assigned this Apr 17, 2024
@zhangjinpeng87 zhangjinpeng87 changed the title Predictable Low Latency Predictable single-digit millisecond latency Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: Issue - Enhancement
Projects
None yet
Development

No branches or pull requests

1 participant