Efi Merdler-Kravitz Rust, renowned for its performance and security, brings considerable benefits to AWS Lambda applications. In this session, discover how to deploy Rust functions using AWS SAM and cargo-lambda, facilitating a smooth development process from your local machine. Explore how to integrate Rust into Python Lambda functions effortlessly using tools like PyO3 and maturin, along with the AWS SDK for Rust. Uncover how Rust can optimize Lambda functions, including the development of Lambda extensions, all without requiring a complete rewrite of your existing code base. • Pythonで実装していたAPI Gateway + LambdaのAPIの一部をRustで置き換えたら良い感じに速くなってコ ストも下がった • レイテンシは最大で4分の1、コストは最大3分の1 くらいになった • PyO3、 maturin、 Cargo Lambdaを使うと苦労せずに実装できるよ 紹介されていたサンプルアプリケーションの内容を詳しく見ていく。 実際に動作させたり、パフォーマンス測定してみる。
benefits to AWS Lambda applications. In this session, discover how to deploy Rust functions using AWS SAM and cargo-lambda, facilitating a smooth development process from your local machine. Explore how to integrate Rust into Python Lambda functions effortlessly using tools like PyO3 and maturin, along with the AWS SDK for Rust. Uncover how Rust can optimize Lambda functions, including the development of Lambda extensions, all without requiring a complete rewrite of your existing code base. • Rustはそのパフォーマンスとセキュリティで知られており、 AWS Lambdaアプリケーションに重要な利点をもた らします。 • AWS SAMとcargo-lambdaを使用して、ローカルマシンからスムーズな開発プロセスを実現しながら、 Rust関 数をAWS Lambdaにデプロイする方法を学びます。 • PyO3やmaturinなどのツールを使用して、 AWS SDK for Rustを組み合わせることで、 RustをPython Lambda関数に簡単に統合できます。 • Rustを使用してLambda関数を最適化する方法を探り、既存のコードを完全に書き直すことなく Lambda拡張 の開発を含めて活用します。