OpenAtomFoundation / pikiwidb

a high-performance, large-capacity, multi-tenant, data-persistent, strong data consistency based on raft, Redis-compatible elastic KV data storage system based on RocksDB
BSD 3-Clause "New" or "Revised" License
201 stars 63 forks source link

feat: Add online profiling functionality #256

Open dingxiaoshuai123 opened 7 months ago

dingxiaoshuai123 commented 7 months ago

Which PikiwiDB functionalities are relevant/related to the feature request?

No response

Description

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

Proposed solution

1

Alternatives considered

1