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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Serverless computing: economic and architectural impact

92 点作者 adzicg超过 7 年前

5 条评论

keithwhor超过 7 年前
Great piece. I think the future of FaaS architecture still isn&#x27;t widely understood (see: slim vs fat function discussion below) mostly because people are going to great lengths to shoehorn old architectural styles into FaaS platforms.<p>To be honest, I think AWS Lambda (and Azure Functions &#x2F; etc.) nailed the compute and economic model, but only got halfway there WRT abstraction layer and ideal development for serverless functions themselves. There&#x27;s an opportunity here to introduce millions of new software engineers to a programming model where they no longer have to think about <i>how</i> their web services run and can treat remote function calls like first-class citizens of their development environment.<p>In fact, this is what we&#x27;ve built and we&#x27;re continuing to iterate upon at StdLib [1]. One of the most common pieces of feedback we receive from our customers is; &quot;this is everything serverless should be.&quot; We have an open source Gateway specification called FaaSlang [2] that makes local development a breeze and perfectly in sync with production functions, as well as providing automatic error (type, parameter) checking at the request level, before function execution. We&#x27;ve only been able to get here by &quot;throwing the baby out with the bathwater&quot; and reimagining backend web development with serverless functions from the ground up.<p>Disclaimer: I&#x27;m the founder of the company and pretty gosh darn excited about the future of this space. Check us out if you get the chance, you won&#x27;t be disappointed. :)<p>[1] <a href="https:&#x2F;&#x2F;stdlib.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;stdlib.com&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;faaslang&#x2F;faaslang" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;faaslang&#x2F;faaslang</a>
FooHentai超过 7 年前
Nice article. One gripe:<p>&gt;For example, a 200ms service task that needs to run every five minutes would need a dedicated service instance (or two!) in a traditional model<p>This feels like such a straw man. Under what traditional model would you spawn off an entire server instance for such a minor function? You&#x27;d slap it in as a service on an existing host. Hosts which for a long time now have been virtualized on consolidated hardware, not bare metal.<p>Serverless can bring big benefits for certain workloads, but hyping it up by misrepresenting the alternatives seems a dishonest attempt to justify investment in the big architectural changes you have to make to get there.
评论 #15530873 未加载
vikiomega9超过 7 年前
&gt; &quot;… serverless platforms today are useful for important (but not five-nines mission critical) tasks, where high-throughput is key, rather than very low latency, and where individual requests can be completed in a relatively short time window. The economics of hosting such tasks in a serverless environment make it a compelling way to reduce hosting costs significantly, and to speed up time to market for delivery of new features.&quot;<p>The crux so to speak. I wonder if this type of planning makes sense though? Can&#x27;t I argue that good design, which imo has been around for ages and collected well in canonical books, aid in improving time to market for new features?
评论 #15528658 未加载
sytse超过 7 年前
The serverless graphic had more arrows than the server based one. I&#x27;m not sure that is an argument for serverless being simpler.<p>The serverless functions take up to 1s to boot. It is not fair to compare that to a VM that is on all the time. We should compare it to a container that is booted on demand. Right now only Heroku does that. At GitLab we&#x27;re considering adding idling by sponging requests <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;gitlab-org&#x2F;gitlab-ee&#x2F;issues&#x2F;3712" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;gitlab-org&#x2F;gitlab-ee&#x2F;issues&#x2F;3712</a>
评论 #15535513 未加载
wahnfrieden超过 7 年前
Note that this point:<p>&gt;You can’t run a fully simulated Lambda environment on your local machine.<p>... is now partially solved via SAM Local: <a href="http:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;lambda&#x2F;latest&#x2F;dg&#x2F;test-sam-local.html" rel="nofollow">http:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;lambda&#x2F;latest&#x2F;dg&#x2F;test-sam-local.h...</a>