Consider BatchRegionHeartbeat
Open
component/api
type/enhancement
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 783
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 36
Description
Currently, we use region heartbeat to do scheduling, one region one heartbeat stream. For every heartbeat stream, gRPC starts a goroutine, it works fine on small clusters, however, it may cause too much memory and CPU on large clusters. A straightforward solution is introducing a new rpc, `BatchRegionHeart`, it batches multiple region heartbeats into one message, I think it should save memory and CPU, and is a better way to do batch handling region heartbeats, #1448 .
Contributor guide
Assessment
This issue has not been assessed yet.