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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How do serverless/cloud functions work underneath?

3 点作者 quantumOctopus超过 3 年前
I've been curious about this for a while, anyone willing to shed some light even at a higher level!

3 条评论

j4hdufd8超过 3 年前
I speculate it&#x27;s just containers, repurposed solely for the purposes of serving HTTP APIs.<p>When you &quot;deploy&quot; a cloud function I think it means it rebuilds the container image and replaces the running instance of the container.<p>I imagine that e.g. the usual 60s &quot;timeout&quot; of a cloud function just means they kill the container after 60s?<p>And maybe e.g. Firestore triggers means that Firestore maintains event handlers that spawn a container (your &quot;trigger&quot;) to run the code you want for that event?
techn00超过 3 年前
You can also check out how <a href="https:&#x2F;&#x2F;www.openfaas.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.openfaas.com&#x2F;</a> works.
fggdd超过 3 年前
Is Google broken for you?
评论 #30122007 未加载