This is the first Release Candidate for RedisTimeSeries 1.2.
-
Added functionality
- #261 Samples are compressed using
Double Delta compression
.- Based on the Gorilla paper.
- In theory, this can save space up to 98%. (2 bits per sample in stead of 128).
- In practice, a memory reduction of 5-8x is common but depends on the use case.
- Initial benchmarks show performance improvements in both read and writes.
UNCOMPRESSED
option inTS.CREATE
.
- Based on the Gorilla paper.
- #261 Samples are compressed using
-
Major Enhancements
- #241 Overwriting the last sample with the same timestamp is not allowed.
- #237 Downsampling after time window is closed vs. downsampling with each sample.
- #242 revised
TS.INCRBY/DECRBY
- Returns a timestamp. The behaviour is now aligned with
TS.ADD
. - The
RESET
functionality was removed.RESET
contradicted the rewriting of the last sample (#241).
Alternatively, you can reconstruct similar behaviour byTS.ADD ts * 1
+sum
aggregationTS.INCRBY ts 1
+range
aggregation
- Returns a timestamp. The behaviour is now aligned with
-
Minor Enhancements
-
Bugfixes
note: the version inside Redis will be 10200 or 1.2.0 in semantic versioning.