pingcap / pingcap/tidb

enable shard memory pool to reduce the memory allocate when to analyze

Open
#50,627 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

From grpc v1.58, Add experimental [With]SharedWriteBuffer to improve performance by reducing allocations when sending RPC messages.

image

when we analyze the tables, we find the memory allocation is so many.

image

Contributor guide

Open the contributing guide

Research direction

The issue provides no file or test entry point. Start by tracing the table-analysis path and how gRPC v1.58's experimental WithSharedWriteBuffer relates to its allocations. Done means reducing memory allocation during table analysis without losing the reported performance benefit.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, grpc
Domain
databases, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.