[proposal] refactor metric cache
module in koordlet
with tsdb-type storage
#1241
Closed
9 of 10 tasks
Labels
area/koordlet
help wanted
Extra attention is needed
kind/proposal
Create a report to help us improve
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:
The text was updated successfully, but these errors were encountered: