[TiKV] Latency Tracing #584
Replies: 1 comment 1 reply
-
@hzxuzhonghu @breeswish (and other experts) Hi! My name is Shota. I'm preparing to apply for the GSoC. There are a few confirmations and requests.
If you have any other resources that would be helpful for implementation, please share them with me. |
Beta Was this translation helpful? Give feedback.
-
TiKV is an open-source, distributed, and transactional key-value database. TiKV is widely used in many mission-critical scenarios that require request latency to be below a single millisecond level, so knowing where the latency has consumed is important. This project is going to let TiKV has the ability to observe the latency composition and diagnose slow requests. CPU-bound requests in TiKV, such as coprocessor requests, are executed at the requested granularity, which is relatively convenient to trace. However, for IO-bound requests in TiKV, such as prewrite requests, batch processing has been introduced to improve IO throughput, which will bring some challenges to trace since it's a scenario not covered by most tracing frameworks. Also, we need to fetch statistics from RocksDB, the storage engine powering TiKV, to provide further tracing details for IO-bound requests.
Mentor(s): Zhenchi (@zhongzc), breeswish (@breeswish)
https://github.com/cncf/mentoring/blob/main/summerofcode/2022.md#latency-tracing
Beta Was this translation helpful? Give feedback.
All reactions