120k Lines of Rust: Inside the Nosdesk Backend

Posted by kylephillipsau 3 days ago

Counter44Comment3OpenOriginal

Comments

Comment by vindin 1 day ago

“Sub-100ms response times, because I chose the hard path with Rust and it paid off.“

Rust is not the reason you have sub-100ms response times. If it were the true bottleneck your app would be far faster than this

Comment by embedding-shape 1 day ago

It sounds like they're talking about HTTP requests/responses, then that sounds mostly like just networking overhead, and it wouldn't matter if it was JS/Go/Rust or C++, network latency would be there anyways. And if that's with network latency excluded, just hitting localhost, then that sounds horrible, should easily be below 1ms unless you're doing something heavy, but sounds like a typical application with no such actions.

Comment by kylephillipsau 1 day ago

[flagged]

Comment by bitbasher 15 hours ago

120K lines of Rust and several thousand transient dependencies with a few million lines of code.