Influxdb made the switch from Go to Rust
old.reddit.com
Influxdb made the switch from Go to Rust
1–10 of 162 posts
Re: Influxdb made the switch from Go to Rust
#2Re: Influxdb made the switch from Go to Rust
#3If we speak about metrics, Prometheus just win.
Re: Influxdb made the switch from Go to Rust
#4- No garbage collector
- Fearless concurrency (thanks Rust compiler)
- Performance
- Error handling
- Crates
- they thought they were gonna use C++ and wanted interop (ended up not using C++?)
- ecosystem: Apache Arrow DataFusion
- "I thought that if we're going to rewrite most of the database anyway, we might as well do it in the best language choice in 2020"
But the real reason might be: "Rust good, Go bad" /s
Re: Influxdb made the switch from Go to Rust
#5Can someone explain what's the InfluxData's market? Or how they make/plan to make money? If we speak about metrics, Prometheus just win.
Re: Influxdb made the switch from Go to Rust
#6tl;dr - No garbage collector - Fearless concurrency (thanks Rust compiler) - Performance - Error handling - Crates - they thought they were gonna use C++ and wanted interop (ended up not using C++?) - ecosystem: Apache Arrow DataFusion - "I thought that if we're going to rewrite most of the database anyway, we might as well do it in the best language choice in 2020" But the real reason might be: "Rust good, Go bad" /…
Re: Influxdb made the switch from Go to Rust
#7Not sure what's the best solution though. Having a "stable" but fundamentally limited product (I guess influxdb v1) or breaking stuff in hopes of ending up with a way better technical foundation.
Re: Influxdb made the switch from Go to Rust
#8Can someone explain what's the InfluxData's market? Or how they make/plan to make money? If we speak about metrics, Prometheus just win.
I imagine similar dashboard services that don't necessarily work well in Prometheus are a good market for these types of databases. Prometheus is nice, but I don't think it's suitable for all Influx use cases (and vice versa).
Re: Influxdb made the switch from Go to Rust
#9wow, the from scratch rewrite. I can't even imagine that for a major piece of software
Re: Influxdb made the switch from Go to Rust
#10Can someone explain what's the InfluxData's market? Or how they make/plan to make money? If we speak about metrics, Prometheus just win.
Basically either you manage it yourself, or you pay them to do Serverless/Dedicated/Clustered hosted setup for you.