Skip to content

Imporve the preformance of hot cache #3725

@nolouch

Description

@nolouch

Development Task

This simulator case has many hot regions:

Step 1:

profile.zip

  • Reduce the copy in GetAll with in RegionStats , may need limit the regions
    image
  • Reduce the slice copy and sort in statistics.(*HotPeerStat).GetLoad
    image

Step 2:
profile2.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions