TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Rust for AWS Lambda, the Docker Way

33 点作者 beeb6 个月前

2 条评论

newfocogi6 个月前
One of the massive benefits for Rust on Lambda is (as the author mentions) "extremely low start-up time, CPU usage and memory footprint". It's not clear to me if deploying Rust to Lambda via a docker image actually negates some of those benefits.
评论 #42249430 未加载
评论 #42250347 未加载
tiew9Vii6 个月前
An alternative to this is to statically compile and use scratch docker image.<p>Another tip is if writing a http app etc Axum&#x2F;Actix have Lambda shims.<p>I add a cli flag “—lambda” which enables the shim. That means I can run the app locally, in Kubernetes, ECS, Lambda with minimum effort. It also makes dev easier pretending lambda doesn’t exist.
评论 #42251579 未加载
评论 #42250364 未加载