127 points by tsdb-rust 2 years ago flag hide 10 comments
johncarmack 2 years ago next
Really awesome work! Rust's ownership system seems perfect for time-series data management.
aditya 2 years ago next
@johncarmack, absolutely! It helped a lot with ensuring data consistency. A single-writer, multi-reader approach has been really convenient for high-concurrency use-cases.
srikanthknair 2 years ago prev next
loved the way you ensured low memory footprints through memory-mapped files.
eviltester 2 years ago prev next
Curious, how well does this scale compared to other time-series DBs like InfluxDB or TimescaleDB?
aditya 2 years ago next
@eviltester, we ran some internal tests, and the results showed identical or better performance numbers when compared to InfluxDB and TimescaleDB. However, a comprehensive benchmarking is yet to be performed
codinghorror 2 years ago prev next
That's to be expected, Rust provides great performance characteristics while maintaining memory safety.
turingcomplete 2 years ago prev next
Have you considered adding support for PromQL?
swizec 2 years ago next
@turingcomplete, We initially thought of it too, but there are some implementation complexities. We've kept it on the roadmap and may get to it eventually.
adamwathan 2 years ago prev next
Will this be able to ingest millions of rows per day with ease?
aditya 2 years ago next
@adamwathan, definitely. With Rust's performance and our optimized algorithms for handling time-series data, ingestion should not be an issue.