TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

12 pointsby glenscott1almost 7 years ago

9 comments

ecesenaalmost 7 years ago
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>
nreecealmost 7 years ago
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.
kkoppenhaveralmost 7 years ago
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-allanalmost 7 years ago
It would help if you have some additional context. Use case, volumes, cost objective...
mgliwkaalmost 7 years ago
What&#x27;s the nature of your data? Is it static or dynamic?
评论 #17725361 未加载
LiamPaalmost 7 years ago
Django &#x2F; Zappa<p>Which is basically AWS lambda &#x2F; gateway with minimal setup and extremely cheap.
dpeckalmost 7 years ago
In the odd case that the json is static hugo and s3 make for a painless deployment.
StriverGuyalmost 7 years ago
Heroku is the easiest set up imo
slipwalkeralmost 7 years ago
given the limited amount of context, i would go with:<p>kotlin+jooby+jersey