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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Dude where's my coldstart?

45 点作者 alexellisuk超过 3 年前

6 条评论

kayodelycaon超过 3 年前
Maybe I’m just turning into one of those old programmers who doesn’t keep with technology, but the incredible inefficiency described and the workarounds for it are just mind-boggling to me.<p>Then again, maybe it is cost-effective to burn seconds of CPU time and tens to hundreds of megabytes per request handled.<p>I’m sure some C programmer from the CGI days would be floored by how much resources multithreaded ruby and python app servers use.
评论 #30043854 未加载
评论 #30043714 未加载
评论 #30044482 未加载
评论 #30044095 未加载
评论 #30043830 未加载
fake-name超过 3 年前
In what potential world would it ever make sense to start an entire container <i>for each request</i>?<p>The entire architecture that leads to such a concept is so dumb I have trouble believing anyone ever thought it could be a decent idea.
评论 #30044189 未加载
评论 #30045728 未加载
评论 #30043966 未加载
alexellisuk超过 3 年前
Disclosure: I&#x27;m the maintainer of the open source project - openfaas which this blog post talks about. It also covers other FaaS frameworks and why we see a &quot;cold start&quot; even when using Kubernetes as our platform.
评论 #30044882 未加载
option_greek超过 3 年前
So this serverless solution has a watchdog process always running and mapping requests to the correct process? It that more like a server than serverless? Will the next optimisation be launching one thread per request? In which case we are back to square one (:
评论 #30045303 未加载
评论 #30045768 未加载
nithril超过 3 年前
The benefit from an app running in a container and already listening to an HTTP port with on top an horizontal autoscaler looks small. I might miss something in the approach but as watchdog requires an &quot;HTTP-level multiplexing for requests&quot; (so the app should listen for http), the app is already running in a container with watchdog: everything is in place to not need watchdog.<p>From the FAQ:<p>&gt; Why do I need watchdog anyway?<p>&gt; Whilst we don’t recommend it, if you’re using a HTTP microservice that conforms to the Workloads spec, then technically you may be able to get away without using it.
FounderBurr超过 3 年前
This is a joke right?