About kvrocks add timeseries #1876
Replies: 2 comments 7 replies
-
Hmmm I'm glad to support more types, but firstly, wouldn't professional TSDB better in this case? (like IOTDB, InfluxDB..). Since TimeSeries workload may having batch writing and analysis. Batch writing might be suitable in RocksDB, but I think analysis would consuming lots of CPU, and after compaction, we cannot make full uses of columnar data and fast computing on it. |
Beta Was this translation helpful? Give feedback.
-
I would be glad to see if RedisTimeSeries can be introduced. I think the first step is to draft a detailed storage design, and you can refer to here to see how other data types are designed.
IMHO it is too rough to get your point of storage design, and generally it need to be detailed to calculate the time/space complexity for each TS command, e.g. how efficient would it be for timestamp query / tag query / range query / aggregate function query? |
Beta Was this translation helpful? Give feedback.
-
I have made a demo to implement some ts-related functions, and compared kvrocks vs. other rocks-based DBs. When tested on the same data, kvrocks won completely.
As you can see ts* reads three times the qps than the others. The resource consumption of kvrocks such as CPU and disk is much smaller than other DVs.
Beta Was this translation helpful? Give feedback.
All reactions