#time-series-database #analytics #xor #compressing #float #locust-db

locustdb-compression-utils

Utilities for compressing and decompressing sequences used in LocustDB

3 unstable releases

0.2.0 May 5, 2024
0.1.1 Apr 8, 2024
0.1.0 Mar 31, 2024

#940 in Algorithms


Used in locustdb

Custom license

76KB
2.5K SLoC

LocustDB Compression Utils

Collection of utils for compressing a series of values.

XOR float compression

One of compression algorithms implemented is a variant of the XOR float compression algorithm described in Gorilla: A Fast, Scalable, In-Memory Time Series Database. The "gorilla_time" example program creates visualizations of the compression algorithm. You can run the visualization with:

cargo run --example gorilla_time -- --verbose

Run the following command to see more options:

cargo run --example gorilla_time -- --help

Dependencies

~1.6–2.7MB
~55K SLoC