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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Adventures in running a free public API

43 点作者 fcambus超过 9 年前

5 条评论

geuis超过 9 年前
Well, this is interesting.<p>I&#x27;ve been running <a href="http:&#x2F;&#x2F;jsonip.com" rel="nofollow">http:&#x2F;&#x2F;jsonip.com</a> for 4-5 years.<p>Right now, it&#x27;s averaging 10 million requests a day.<p>I don&#x27;t do any logging other than total bandwidth usage, in and out. I <i>have</i> been getting numerous noticed from my host because I haven&#x27;t bothered to update the usage alarm levels. I&#x27;ll adjust that when it matters.<p>Basically, I don&#x27;t give a shit what you&#x27;re using it for. Only <i>one time</i> in the last 4 years have I had to explicitly take action against an abusive user. If you&#x27;re the dipshit with the misconfigured squid proxy a few years ago that got the 418 You&#x27;re a teapot response, you know who you are.<p>Btw jsonip is a node.js service. It&#x27;s been working at scale, just fine, and will continue to in the future.
评论 #10580051 未加载
Animats超过 9 年前
I have a free API which provides business rating info about the business behind a web site.[1] Try:<p><pre><code> http:&#x2F;&#x2F;www.sitetruth.com&#x2F;fcgi&#x2F;rateapiv3.fcgi?url=ycombinator.com&amp;format=json&amp;key=guest </code></pre> It gets modest usage. We can limit usage based by &quot;key&quot;, but currently don&#x27;t have to. It does have fair queuing; if you submit a large number of requests from the same IP address, you won&#x27;t delay requests from other IP addresses. This is enough to deal with anything short of a determined DDOS.<p>[1] <a href="http:&#x2F;&#x2F;www.sitetruth.com&#x2F;doc&#x2F;sitetruthapi.html" rel="nofollow">http:&#x2F;&#x2F;www.sitetruth.com&#x2F;doc&#x2F;sitetruthapi.html</a>
ogurechny超过 9 年前
How was the service “abused” by malware? There&#x27;s plenty of other ways to get computer&#x27;s external IP address from public or private-but-always-accessible sources, and a bit less to get some location data. I doubt the shutdown creates any significant problems for nefarious users.
guelo超过 9 年前
A lot of the history of the internet seems to repeat this theme, idealistic engineers make assumptions that other people are going to be nice and considerate only to discover that there are a lot of assholes out there.
评论 #10579750 未加载
评论 #10579936 未加载
voltagex_超过 9 年前
There was another post along these lines about running some kind of pastebin clone but I can&#x27;t find it.
评论 #10579864 未加载