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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What do you use serverless for?

8 点作者 interrupt_超过 4 年前

6 条评论

el_dev_hell超过 4 年前
I use the serverless framework for simple REST APIs. This is especially beneficial if you&#x27;re hooking into other cloud provider tools (such as S3, SQS, ect. with AWS).<p>The main reason is speed of deployment and overhead. I can push the code to a repo and boom -- a working backend with basically no infra config.<p>I&#x27;ve found this works very well for internal glue tools that aren&#x27;t majorly affected by cold starts.<p>One nice example was building a quick and dirty internal tool for L3 support staff to alter certain client records. It wasn&#x27;t appropriate to hand out DB access and it wasn&#x27;t a high enough priority to create a new feature in our &quot;real&quot; support system, so I build a few basic endpoints (with strict rules) and passed it off to the team. They&#x27;re using Postman to make the changes as needed (using a JWT for auth from our main application).
GoldenMonkey超过 4 年前
If we are talking about the ‘serverless’ framework.<p>I use it to stand up all resources for Amazon Web Services. The web gateway api, dynamodb tables, lamda code.<p>It is invaluable. Saves so much time. No need to standup resources by hand.
jamieweb超过 4 年前
I use Cloudflare Workers for:<p>* Serving a standard security.txt file for all websites within my account<p>* Automatically rewriting the case of URLs for a CMS that doesn&#x27;t support case-insensitivity<p>* Adding security headers to sites that don&#x27;t support adding them locally (e.g. third-party hosting)<p>* Proxying requests elsewhere directly from the &#x27;edge&#x27;, rather than having to run my own proxy<p>* Serving static config files, e.g. mta-sts.txt, proxy.pac
评论 #24486901 未加载
ArtWomb超过 4 年前
Modern serverless platofrms include distributed data tiers like Cloudflare KV so theoretically at least the only problem domain they can&#x27;t handle is secure communications and secrets requiring higher levels of auditing
was_boring超过 4 年前
For stuff I don’t really care about meeting any sort of SLA.
astuyvenberg超过 4 年前
Basically anything and everything that I can surmise will complete within 15 minutes.
评论 #24484088 未加载