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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

WebAssembly on Amazon Lambda: Lessons Learned

50 点作者 blopeur将近 3 年前

6 条评论

nmilo将近 3 年前
&gt; We built a social network for pets. [...] Every story update is appended in a homemade &quot;blockchain&quot; running in WebAssembly in the Lambda worker.<p>Dear God.
评论 #31822731 未加载
评论 #31819886 未加载
pyrolistical将近 3 年前
Wasm. Wasm everywhere.<p>It’s going to be in your cdn edge node.<p>It’s going to be your serverless target.<p>It’s going to be your database transaction.<p>It’s going to be your device driver.<p>It’s going to be your interrupt.<p>Maybe it’ll be your native language. WAT is clunky but can easily made productive with some syntactic sugar.<p>Finally it may become your hardware target. Abstract machine no more.
评论 #31817608 未加载
评论 #31819313 未加载
评论 #31818567 未加载
评论 #31819540 未加载
评论 #31819735 未加载
thorum将近 3 年前
FWIW, Lambda has added support for Docker images, which can run anything. They’re not limited to 500 MB either. You just have to use one of Amazon’s base images that come with the Lambda runtime installed, or add it to your existing Dockerfile. This might be the way to go for running something like Wasmer.
评论 #31817388 未加载
评论 #31817326 未加载
thdxr将近 3 年前
Very interesting!<p>Note lambdas now can have urls if you want to set that up without setting up API Gateway<p>Looks like the other rough edges are from being understandably overwhelmed by AWS. Would love to chat with the author of this article about how we can make WASM an option in SST (<a href="https:&#x2F;&#x2F;sst.dev" rel="nofollow">https:&#x2F;&#x2F;sst.dev</a>) so this is becomes a much easier option
WatchDog将近 3 年前
Why use Wasm on lambda, when you could just compile your app natively?
r00tanon将近 3 年前
Severless.com framework has lots of plugins that allow local emulation of AWS services like S3, dynamodb, rds, etc. that your application will be using. It also helps with running debugging remote lambdas and deploying them. There&#x27;s also SAM.<p>If you are going serverless, one of these toolkits makes it a lot easier.