arana-db / arana-db/kiwi-cpp

feat: Add online profiling functionality

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
✏️ Feature
Dominant language
C++
Stars
49
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Tair 有着在线性能统计工具, 有助于性能瓶颈的分析, 故 kiwi 应该实现一个多线程性能统计工具来分析性能瓶颈, 针对性的进行优化.
期望:
1)、可以对关键指标进行统计, 并输出可读信息.(比如磁盘 I/O 相关信息统计)
2)、可配置统计等级, 在统计和性能之间平衡.
3)、对慢请求进行 profiling 的日志输出, 方便问题定位
借用 Tair 的 example :
![image](https://github.com/OpenAtomFoundation/pikiwidb/assets/56024577/d7bb14eb-84a2-485a-a5d5-f69909c4831d)

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by mapping the request-handling and performance-related parts of the C++ repository, then clarify how metric levels, disk I/O reporting, and slow-request thresholds should be configured and logged; done requires an agreed profiling design and validation criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
observability-sre, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.