-
Notifications
You must be signed in to change notification settings - Fork 742
Open
Labels
type/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.
Description
Feature Request
Describe your feature request related problem
As user reports, there are about 200w regions, and the workload is uniform. so there are many region need to update if the flow changed. the qps update_cache
is about 9k, which means 9k/s need Locks and more operator in heartbeat needRLocks
.
Describe the feature you'd like
- reduce the update operations
- Alleviate lock contention
Describe alternatives you've considered
- add a switch to reduce updates when region flow changed.
- optimize heartbeat with segmented lock
Teachability, Documentation, Adoption, Migration Strategy
- Go
Metadata
Metadata
Assignees
Labels
type/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.