Replies: 3 comments
|
Thanks for sharing this work. ALP itself is a credible and interesting direction, but I do not think the current benchmark supports the claimed comparison yet.
感谢分享。ALP 本身是一个可信且值得研究的方向,但我认为目前提供的 benchmark 还不足以支撑文中的横向对比结论。
|
|
Thank you @HTHou for the detailed and constructive review. Your points regarding workload equivalence and measurement rigor are spot on, and I appreciate you taking the time to examine the benchmark specifics. Here is the updated breakdown and clarifications addressing each point:
Thank you again for the feedback; it directly helped improve the clarity and rigor of these benchmarks. |
|
Here is the follow-up with the committed benchmark suite overhaul, the exact diff, and the updated 37-dataset comparative results addressing your technical feedback on workload equivalence and measurement rigor: Commit diff: webc-site/wedb_embed@63ddb9b Summary of benchmark refactorings implemented in commit 63ddb9b:
Full 37-dataset benchmark results on Apple Silicon (12-core, macOS, Rust 1.91, -O3):
Honest observations on codec trade-offs:
To reproduce these results, anyone can run: The crate is published at crates.io. |
Uh oh!
There was an error while loading. Please reload this page.
In IoT time-series systems, sensor measurements (environmental conditions, smart grid voltage, machinery vibration, vehicular telemetry) are fundamentally captured with finite decimal precision. Conventional floating-point compression algorithms (such as Gorilla, Chimp, and Elf) rely on bitwise XOR differences between IEEE 754 representations. However, small variations in real-world measurements often flip mantissa bits unpredictably, which limits compression ratio and impedes SIMD parallelism due to sequential bitstream decoding.
Over the past months, I have been working on fastalp (available on crates.io), an implementation of the Adaptive Lossless Floating-Point (ALP) compression algorithm. Instead of bitwise XOR on floating-point representations, it samples the data block to determine the optimal decimal exponent e, scales values into exact integers, and compresses them with Frame-of-Reference (FOR) bit-packing.
Key architectural characteristics:
Benchmark results measured on standard time-series datasets (weather telemetry, financial prices, disk metrics) with 1,000 double-precision values per batch:
In these measurements, fastalp achieved 16.34 bits/val while decompressing 1,000 values in 0.423 µs (423 ns), corresponding to 2.36 billion values per second on a single core.
I hope these benchmark measurements and architectural details provide useful context for time-series encoding evaluations and future codec research in IoTDB.
All reactions