Re:InfluxDB IOx – The New Core of InfluxDB Built with Rust
by pauldix on Tuesday November 10, 2020 @02:58PM
(#25050989)
InfluxDB creator and lead for InfluxDB IOx here. Happy to answer any questions people might have. In short, it's an in-memory columnar database with object storage for persistence. It's a bunch of other things as well, but that's the main thrust of the project.
Re:InfluxDB IOx – The New Core of InfluxDB Built with Rust
by pauldix on Tuesday November 10, 2020 @05:19PM
(#25052826)
So far working with Rust has been great. We haven't had to build any special build tooling. The build times are greater than Go, but we're able to keep things manageable by breaking the project into separate Crates (all still within the same repo and directory tree), which can take advantage of incremental compilation.
Rust has the memory control we're looking for with the safety of a higher level language. For programming that requires concurrency, as most server software including this project does, it's fantastic as the compiler will prevent data races. The way Rust has you deal with errors also makes it easier to write correct code at compile time rather than finding problems at runtime when they can be harder to track down.
Rust has the memory control we're looking for with the safety of a higher level language. For programming that requires concurrency, as most server software including this project does, it's fantastic as the compiler will prevent data races. The way Rust has you deal with errors also makes it easier to write correct code at compile time rather than finding problems at runtime when they can be harder to track down.
Most of what I wrote here a few years ago still feels true: https://www.influxdata.com/blog/rust-can-be-difficult-to-lea...
I also talk about using Rust in the announcement blog post here: https://www.influxdata.com/blog/announcing-influxdb-iox/