Appwrite is moving its server from PHP to Rust. In its own load test, the Rust Users API handled 2.6 times as many requests per second with 50 virtual users. The less dramatic fact matters more: according to its November 22, 2026 announcement, most of Appwrite still runs on PHP. Some Rust libraries already run inside PHP services. That lets the team measure and roll out individual pieces before moving a whole service.
What Rust does differently
In Rust, every value has an owner. At compile time, the borrow checker checks who may access a value. That gives safe Rust memory safety without a garbage collector. It explains how Discord removed GC-related latency spikes and why Rust is relevant to Android’s work on memory safety. It doesn’t make every program’s latency predictable.
The compiler also prevents data races in safe Rust, which matters for a concurrent shell like fish. Option and Result put absence and recoverable errors in the type instead of relying on null or exceptions. Cargo brings dependencies, builds, and tests into one tool.
Ownership takes time to learn, and compilation can be slow. The TypeScript team faced a different question: how to port the existing compiler directly. Microsoft cited Go as a fit for that approach, not the result of a Rust compile-time benchmark.
What actually got faster
Discord didn’t replace its whole platform. It replaced the service that remembers which messages you’ve read. The Go version had regular latency spikes when the garbage collector scanned memory. The spikes disappeared in the Rust version. What mattered wasn’t the average response time, but how long the slowest requests kept people waiting.
Cloudflare used roughly a third of the CPU and memory of its old NGINX infrastructure with Pingora, its Rust proxy. But the architecture changed too: Pingora could reuse connections to origin servers more effectively. Figma drew an even tighter boundary: design file serialization got more than ten times faster, not the whole app. The rest didn’t need a rewrite.
What you can’t measure in milliseconds
Dropbox rebuilt its sync engine. The team emphasizes correctness: Rust let them express rules of the data model so that the compiler could check them. The fish shell moved from C++ to Rust in part for better build tooling and safer concurrent code. Neither story needs an invented speedup to make its point.
In Android, memory safety bugs went from 76 percent of reported vulnerabilities in 2019 to 24 percent in 2024. Google has been using more memory-safe languages, including Rust, for new code. Those figures describe a change in Android. They don’t isolate Rust’s contribution, much less show that Rust prevents every kind of vulnerability.
Why not Go?
Microsoft ported the TypeScript compiler to Go. Its announcement reported a drop from 77.8 seconds to 7.5 seconds on the VS Code codebase. The team could port the existing compiler directly rather than design a new one. And back in 2010, Facebook’s HipHop translated PHP to C++ to reduce server load. The team didn’t have to give up writing PHP to do it.
A rewrite promises a fresh start. It can also lose behavior that users depend on even though nobody wrote it down. If you’re considering one, measure what hurts first: long waits, memory bugs, or a rule that keeps breaking during sync. Then replace the smallest piece that lets you prove the difference. If the rest stays in PHP, Go, or TypeScript, the rewrite may have done exactly enough.