Ask HN: Anybody running serious Rust web application in production?
And by serious, I mean with lots of users, lets say min 100K active and more complex then to do list, lets say e-invoicing service.
The performance of such potential app is what interests me the most, given that Rust is as fast as C/C++ and it doesn't have garbage collector.
13 comments
[ 834 ms ] story [ 2163 ms ] threadAnd given the advantages of Rust over C/C++ in terms of PL functionality, type system etc, I'd say it's worth it (unless you haven't already invested the effort to become proficient in it, and you're already happy with C/C++).
Rust is LLVM based, so yes.
IIRC its mostly TensorFlow & Python though.
I'm working on a Java parser/semantics analysis in Rust, and it'll replace the current semantics engine of https://lilit.dev.
We are processing 100,000 Java files at a time with Scala/Java It currently uses 10GB of RAM. Moving to Rust will reduce memory usage drastically, and that will reduce my bill.
But I'm not going full Rust because of mundane stuff like move data here and there. It's better to use Scala or a language with higher abstraction. The time sink is IO/database call anyway, so the performance gain per request might not be that significant.
Take a look at this it you want an idea of what your codebase would look like:
https://gitlab.com/bloom42/bloom/tree/dev/server
Edit: they followed up this year as well, still using Rust: https://www.reddit.com/r/rust/comments/cdg5b4/rust_in_the_on...
NPM also has a white paper on their choice to move parts of their Backend Services to Rust as well.
https://blog.discordapp.com/using-rust-to-scale-elixir-for-1...
I chose Rust because 1. I enjoy the hell out of it; I feel productive and safe in the language. 2. Some services within our infra have tight memory requirements and I was having difficulty feeling confident on handling these requirements in Go.
So if you're asking merely for concurrent traffic requests our uses are definitely not serious haha. If you're asking based on "professional" usage, our Rust usage is vital to tens of millions of USD. Not astronomical, but far more "real business" than a startup with 20 users haha :)