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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Should we use Lambda (Google Cloud Functions) for our API?

1 点作者 woogle大约 7 年前
Hi HN,<p>I need you.<p>I&#x27;d like to know what is the current state of the art regarding the use of serverless paradigm for API endpoints.<p>Context: We currently use Google Cloud Functions for our API. Our startup is young, and just the 2 cofounders are working on it. Our product is a consumer iOS app. The backend is something we don&#x27;t have a lot of time to dedicate yet. ~1k DAU ~5k Daily API calls, Traffic spread between US, Europe, East Asia, Australia<p>Over a classic webserver deployed on Heroku&#x2F;EC2,<p>Pros<p>- easy to deploy<p>- easy to maintain<p>- easy to setup<p>Cons<p>- cold starts are becoming really long (~4&#x2F;6 seconds)<p>- we setup a pgbouncer to connect to Postgres instead of a simple Pooling client (and it will be more complicated for geo dns?)<p>What do you think?

暂无评论

暂无评论