Back to journal

Journal

Big Performance Boost Timeless Metrics 6.0.6

Big performance update, especially around new series creation(300x). New lookup cache for faster series label resolution as well(3x). Unbucketed multi-series aggregate queries are much faster(10x).

New series creation enhancements in Rust code are the primary improvement. This probably won’t help actual users but will vastly improve comparison benchmarks. A select group of users like myself who have 200k+ series may see significant improvements(300x) the first hour or two of using the software but that’s it.

Went back to ETS lookup cache for series labels instead of solely relying on Rust. Will improve ingestion speeds for cached items(3x).

Multi-series aggregates get a significant boost as well. Typical queries are around 200ms for massive amounts of aggregate data and have been reduced to 14-20ms(10x).

I also generalized the version in timeless_metrics_dashboard and timeless_phoenix(6.0.x) so users will get future dot release updates on install or hex deps.update instead of being pinned to a specific version. Any breaking changes will be made in 6.1.