Counter Service: How we rewrote it in Rust
BRANK

The Integrity Data Platform team at Grab rewrote a QPS-heavy Golang microservice in Rust, achieving 70% infrastructure savings while maintaining similar performance. This initiative explored the ROI of adopting Rust for production services, balancing efficiency gains against challenges like Rust’s steep learning curve and the risks of rewriting legacy systems. The blog delves into the selection process, approach, pitfalls, and the ultimate business value of the rewrite.

engineering.grab.com
Related Topics: Rust
3 comments
  • 会社のマイクロサービスを一部Rustにしてみたくなった方々へ: 実は昨年、RustでのWebアプリケーションの実装についての本を書きました🙌🏻 よかったら読んでみてください!
    amzn.asia/d/3nJCAJl

  • 落とし穴として、非同期Rustが難しいというよくある話が書かれている。非同期Rustコンサルやるといいのかもしれない。やるのでお声かけください(違)。ちなみにGrabは東南アジアではよく見かけるアプリで、私もフィリピン出張でタクシーの手配に使ったことがあります😌

  • 一部のマイクロサービスを書き換えてRust導入のROIを測ってみた体験談が書かれている。P99のレイテンシーには前後でほぼ変化はなかったが、リソース消費量はRust移行後の方が低く保て、インフラコストを70%↓できたとのこと👏🏻

    Counter Service: How we rewrote it in Rust engineering.grab.com/counter-servic…