#compressing #verbose #xor #sequences #decompressing #locust-db

locustdb-compression-utils

Utilities for compressing and decompressing sequences used in LocustDB

2 releases

0.1.1 Apr 8, 2024
0.1.0 Mar 31, 2024

#210 in Compression

Download history 186/week @ 2024-03-26 116/week @ 2024-04-02 61/week @ 2024-04-09

363 downloads per month
Used in locustdb

Custom license

73KB
3K 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.4–2.4MB
~49K SLoC