Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[proposal] refactor metric cache module in koordlet with tsdb-type storage #1241

Closed
9 of 10 tasks
zwzhang0107 opened this issue Apr 23, 2023 · 1 comment
Closed
9 of 10 tasks
Labels
area/koordlet help wanted Extra attention is needed kind/proposal Create a report to help us improve

Comments

@zwzhang0107
Copy link
Contributor

zwzhang0107 commented Apr 23, 2023

What is your proposal:
refactor metric cache for better performance and expansibility.

Why is this needed:
metric cache is a module for metric data persistence in koordlet.

Currently, it use sqlite3 as the storage, which is an structured SQL-like database.
sqlite3 shows poor performance for time-series data like resource metrics, consuming more space and slow on query.
Besides, as an structured database, tables and interfaces must be added when adding new metrics on metric cache, which shows bad expansibility。

Is there a suggested solution, if so, please add it:
We plan to replace sqlite3 with tsdb for better performance and extension.

Followings are the detailed plan:

@zwzhang0107 zwzhang0107 added the kind/proposal Create a report to help us improve label Apr 23, 2023
@zwzhang0107 zwzhang0107 changed the title [proposal] refactor metric cache module in koordlet with tsdb-type storage [proposal] refactor metric cache module in koordlet with tsdb-type storage Apr 23, 2023
@zwzhang0107
Copy link
Contributor Author

/area koordlet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/koordlet help wanted Extra attention is needed kind/proposal Create a report to help us improve
Projects
None yet
Development

No branches or pull requests

1 participant