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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What infrastructure would you use to host an open, free JSON-based API?

12 点作者 glenscott1将近 7 年前

9 条评论

ecesena将近 7 年前
Google App Engine is great &amp; free for low volumes of traffic. I use it for my crypto dashboard: <a href="https:&#x2F;&#x2F;priceeth.github.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;priceeth.github.io&#x2F;</a><p>Github pages if it&#x27;s static enough, or for any static part.<p>If the amount of data is small &#x2F; static-ish, and can&#x2F;needs to be changed by non-tech people, I&#x27;ve also used Google spreadsheet. Example: <a href="https:&#x2F;&#x2F;hasgluten.com" rel="nofollow">https:&#x2F;&#x2F;hasgluten.com</a>
nreece将近 7 年前
FaaS&#x2F;Serverless will be a good starting point for something like this, so either AWS Lambda, Azure Functions or Google Cloud Functions will be good enough.
kkoppenhaver将近 7 年前
The free tier of AWS Lambda gives you up to 1 million calls per month. You could use this for the actual fulfillment of your data. Paired with AWS API Gateway (1 million calls for free per month for the first year), it seems that you could do this relatively cheaply.<p>The only thing I haven&#x27;t accounted for here is if you&#x27;re querying against some sort of database, which would incur additional hosting costs.
tony-allan将近 7 年前
It would help if you have some additional context. Use case, volumes, cost objective...
mgliwka将近 7 年前
What&#x27;s the nature of your data? Is it static or dynamic?
评论 #17725361 未加载
LiamPa将近 7 年前
Django &#x2F; Zappa<p>Which is basically AWS lambda &#x2F; gateway with minimal setup and extremely cheap.
dpeck将近 7 年前
In the odd case that the json is static hugo and s3 make for a painless deployment.
StriverGuy将近 7 年前
Heroku is the easiest set up imo
slipwalker将近 7 年前
given the limited amount of context, i would go with:<p>kotlin+jooby+jersey