Stay up to date on releases
Create your free account today to subscribe to this repository for notifications about new releases, and build software alongside 40 million developers on GitHub.
Sign up for free See pricing for teams and enterprisesThis is the General Availability Release of RedisTimeSeries 1.2 (v1.2.2)!
Headlines:
- Compression added which can reduce memory up to 98% and improve read performance up to 50%.
- Stable ingestion time independent of the number of the data points on a time-series.
- Reviewed API with performance improvements and removed ambiguity.
- Extended client support
(we will blog about this release soon including performance improvements results and the link here)
Full details:
-
Added functionality
- #261 Samples are compressed using
Double Delta compressionwhich results in cost savings and faster query times.- 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 90% is common but depends on the use case.
- Initial benchmarks show performance improvements in reads up to 50%.
UNCOMPRESSEDoption inTS.CREATE.
- Based on the Gorilla paper.
- #261 Samples are compressed using
-
API changes / Enhancements
- #241 Overwriting the last sample with the same timestamp is not allowed.
- #242 revised
TS.INCRBY/DECRBY- Returns a timestamp. The behaviour is now aligned with
TS.ADD. - The
RESETfunctionality was removed.RESETcontradicted the rewriting of the last sample (#241).
Alternatively, you can reconstruct similar behaviour byTS.ADD ts * 1+sumaggregationTS.INCRBY ts 1+rangeaggregation
- Returns a timestamp. The behaviour is now aligned with
- #317 Aligning response on empty series of
TS.GETwithTS.RANGE. - #285 #318 Changed default behaviour of
TS.MRANGEandTS.MGETto no longer returns the labels of each time-series in order reduce network traffic. OptionalWITHLABELSargument added. - #319
TS.RANGEandTS.MRANGEaggregation starting from requested timestamp.
-
Performance improvements
-
Minor Enhancements
-
Bugfixes since v1.0.3
note: the version inside Redis will be 10202 or 1.2.2 in semantic versioning.