Categories
Software Development

Apollo GraphQL and AWS Embrace Rust for Enterprise Apps

Home-Software Development-Apollo GraphQL and AWS Embrace Rust for Enterprise Apps
Apollo GraphQL

Apollo GraphQL and AWS Embrace Rust for Enterprise Apps

Introduction

Apollo GraphQL and AWS are significantly investing in Rust, a language known for its superior performance and security.

Rust’s Capabilities

Despite its challenging learning curve, Rust offers capabilities that surpass other languages in performance and security. It is highly regarded for its exacting compiler standards and minimal garbage collection concerns.

Apollo’s Adoption of Rust

At the GraphQL Summit in New York, Apollo announced its shift to Rust for its query handling. This change aims to enhance efficiency and reliability in search functionalities, moving away from JavaScript.

AWS’s Use of Rust

During P99 CONF, Carl Lerche from AWS highlighted Rust’s growing use within AWS’s infrastructure, specifically mentioning the open-source Tokio framework and Toast platform.

Strategic Decisions at Apollo

Matt DeBergalis of Apollo GraphQL discussed the strategic decision to transition to Rust, emphasizing its benefits for Apollo’s search engine and long-term development strategy.

Toasty ORM Library

Lerche also introduced Toasty, an ORM library for Rust, designed to prioritize ease of use while supporting SQL and some NoSQL databases. It aims to streamline database operations across different contexts.

Challenges and Innovations

Lerche addressed the ecosystem split between SQL-supporting ORMs and other database libraries, suggesting that Toasty’s unified approach could reduce the learning curve and improve user familiarity.

Apollo’s New Query Planner

Apollo’s new query planner in Rust, part of its router, offers significant performance boosts and multithreading capabilities. DeBergalis noted a 10-fold improvement in execution time for query planning.

Conclusion

Apollo and AWS’s adoption of Rust underscores the language’s growing importance in performance-critical infrastructure, marking a notable shift in the tech landscape.

logo softsculptor bw

Experts in development, customization, release and production support of mobile and desktop applications and games. Offering a well-balanced blend of technology skills, domain knowledge, hands-on experience, effective methodology, and passion for IT.

Search

© All rights reserved 2012-2024.