E529 feat: cache space total memory by jiacai2050 · Pull Request #1278 · apache/horaedb · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@jiacai2050
Copy link
Contributor
@jiacai2050 jiacai2050 commented Oct 24, 2023

Rationale

If there are massive tables, the check for total memory usage costs a lot of cpu resources.

Detailed Changes

Introduce a sampling mechanism to avoid frequent memory usage check.

Test Plan

All the tests in the ci should pass.

@ShiKaiWi ShiKaiWi marked this pull request as ready for review October 26, 2023 07:39
@ShiKaiWi ShiKaiWi force-pushed the feat-cache-mem-size branch from 30bb477 to 6314390 Compare October 26, 2023 08:08
@jiacai2050 jiacai2050 merged commit a03ec2a into apache:main Oct 26, 2023
@jiacai2050 jiacai2050 deleted the feat-cache-mem-size branch October 26, 2023 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0