3 ms·
At work we're moving almost everything to Rust on our backend. Massively reduced memory usage and significant latency improvements relative to our Typescript co
by insanitybit 16d ago
At work we're moving almost everything to Rust on our backend. Massively reduced memory usage and significant latency improvements relative to our Typescript codebase. Even for code that you'd expect to work well in TS, a near 1 to 1 port to Rust has considerably improved our best case and, in particular, our worst case latencies. And the memory we get back is huge, we may even drop our instance size down with the 800MB of RAM we're likely going to save.
- za3faran 16d agoTo be fair, it's not that hard to get an improvement compared to running TS in the backend.
- insanitybit 15d agoI agree, but I think most people actually don't think that's true when it comes to services that primarily do IO.