课程: Rust AWS Lambda
Rust and Firecracker
- [Instructor] Here we have Firecracker, which is a virtual machine that is specialized for running multi-tenant container and function-based services, and also optimizing performance and security. And this is actually built in Rust. And Rust is an excellent choice for this kind of a problem because of its safety and performance characteristics. The architecture is MicroVMs here, and this means that they're lightweight, they're faster nature, and it makes Firecracker suitable for serverless. So this is really the engine that powers AWS Lambda, and there's minimal overhead because only the essentials are included. And as well in terms of security, Rust safety features help minimize the risk and also reduce the surface area that is attackable. Some other things to include here about Firecracker are that it can launch thousands of micro-VMs at a fraction of a second, enabling the rapid scaling of applications. There's low memory head as well, and it has integration with container runtimes, and this is why it works well with things like AWS Fargate and Kubernetes, and other types of containers. So this is really the engine that's being powered underneath the hood of Lambda and Fargate, and it's also an open source project. So a few different takeaways here are that, really, in terms of a showcase for the power of Rust, it's hard to find a more successful open source project. And it kind of goes to show you, if you want to do computation at scale that's extremely lightweight, something like Rust is really your best bet, and that's why in the domain of data engineering and ML ops and cloud computing, really Rust, in a sense, is a secret weapon because of how efficient it is at building secure, yet performant code.
内容
-
-
Introduction to serverless3 分钟 17 秒
-
Rust and Firecracker2 分钟 1 秒
-
Setting up Virtual Studio code for Rust3 分钟 14 秒
-
(已锁定)
Introduction to Cargo Lambda5 分钟 43 秒
-
(已锁定)
Rust cost advantage for Lambda3 分钟 38 秒
-
(已锁定)
Using AWS Lambda console5 分钟 2 秒
-
(已锁定)
Using Step Functions console3 分钟 40 秒
-
(已锁定)
Invoking Step Functions with CLI3 分钟 15 秒
-
(已锁定)
Building Rust AWS Lambda: Add function6 分钟 51 秒
-
(已锁定)
Building Rust AWS Lambda: Divide by two4 分钟 30 秒
-
(已锁定)
Invoking AWS Step Function from CLI3 分钟 3 秒
-
(已锁定)
Rust AWS Step Functions6 分钟 44 秒
-
(已锁定)
Serverless MLOps with EFS9 分钟 38 秒
-
(已锁定)
Rust AWS Lambda Function URLs4 分钟 12 秒
-
(已锁定)
Saving with ARM642 分钟 45 秒
-
(已锁定)
Polars Rust Lambda3 分钟 20 秒
-
(已锁定)
Building and deploying Polars Rust Lambda6 分钟 5 秒
-
(已锁定)
Using AWS console for Lambda4 分钟 49 秒
-
(已锁定)
Analyzing Rust AWS Lambda2 分钟 42 秒
-
(已锁定)
AWS Lambda Functional URL1 分钟 54 秒
-
(已锁定)
Building and deploying Polars Rust Lambda with URL3 分钟 37 秒
-