pingcap / pingcap/tidb

Logger Performance Impact in info-level Mode at the ddl.LoadTiFlashReplicaInfo

Open
#53,868 0 comments 0 reactions 1 assignee Claimed by @lance6716 View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

In our current application, we have observed that even in info-level mode, the logger can significantly impact performance. This issue is particularly noticeable during high-load scenarios, where the overhead introduced by extensive logging can degrade the system's responsiveness and throughput.

image

https://flamegraph.com/share/917ff8de-2483-11ef-ab1b-b6898751f631

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.