Presentation: The Rust High Performance Talk You Did Not Expect
Our take

Ruth Linehan’s presentation on migrating high-performance caching services from Kotlin to Rust offers a compelling case study for organizations grappling with performance bottlenecks and engineering velocity. The core takeaway – that Rust can demonstrably improve both – challenges many preconceived notions about the trade-offs inherent in adopting new languages. It’s particularly interesting to see this experience shared within the context of cloud-native infrastructure, a space increasingly reliant on high-throughput, low-latency services. This resonates with the broader industry movement towards optimized resource utilization, as evidenced by articles like How Much Does It Actually Cost to Run a Local LLM? (Euros per Million Tokens, Measured), which highlights the increasing importance of minimizing operational costs—a goal Rust’s performance can directly contribute to. The inherent safety guarantees of Rust, particularly the borrow checker, are often cited as a barrier to entry, but Linehan's experience suggests that these can actually *accelerate* development by catching errors at compile time, significantly shortening the feedback loop and reducing debugging time.
The discussion of tools like Criterion and flamegraphs for optimizing concurrent code paths underscores a crucial point: Rust’s performance benefits aren’t simply inherent; they require deliberate engineering effort. The focus on profiling and benchmarking is a practical demonstration of how to extract maximum value from the language. It’s also insightful to consider this in relation to architectural shifts in web development, like the movement to micro-frontends. As Luca Mezzalira explores in Presentation: Lessons Learned in Migrating to Micro-Frontends, breaking down monolithic applications into smaller, independent components introduces new complexities. Rust's ability to handle high-performance, concurrent workloads within these microservices could become a significant factor in choosing the right technology for each component. The speed and reliability offered by Rust could mitigate some of the operational challenges inherent in distributed systems.
The fact that Linehan’s team shattered internal assumptions about delivery velocity and engineering overhead is noteworthy. Often, the perception is that adopting a language like Rust, with its steeper learning curve, introduces significant overhead. Her experience directly refutes this, demonstrating that the long-term benefits of increased performance, improved reliability, and reduced debugging time can outweigh the initial investment. This is especially pertinent as organizations increasingly rely on AI and machine learning models, which often demand substantial computational resources. The ability to optimize these workloads with a language like Rust can lead to significant cost savings and improved performance. Similarly, the trend toward connecting tools like VS Code to cloud resources, as described in Google Cloud Workbench Notebooks Extension Connects VS Code to Google Cloud's Jupyter Notebooks, emphasizes the need for efficient tooling and optimized execution environments – areas where Rust can excel.
Ultimately, Linehan's presentation serves as a valuable case study for anyone considering adopting Rust for performance-critical applications. It moves beyond theoretical arguments and provides concrete evidence of its benefits. The key takeaway isn't simply that Rust is faster, but that it can fundamentally reshape the development process, leading to increased velocity and reduced operational costs. As cloud-native architectures continue to evolve and the demand for high-performance, reliable services grows, the question becomes not *if* Rust will play a larger role, but *where* and *how* organizations will strategically deploy it to maximize its impact. It will be fascinating to see how this migration strategy ripples through other teams and projects, and whether similar performance gains are replicated across a wider range of applications.

Ruth Linehan explains how migrating high-performance caching services from Kotlin to Rust shattered internal preconceptions around delivery velocity and engineering overhead. She discusses the ergonomics of the Rust borrow checker, shares how compile-time safety shortens the developer feedback loop, and profiles how tools like Criterion and flamegraphs optimize concurrent code paths.
By Ruth LinehanRead on the original site
Open the publisher's page for the full experience