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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Heartbeat – Transform REST Endpoints to Streaming APIs

111 点作者 sidi将近 9 年前

7 条评论

dvcc将近 9 年前
Looks cool but a minimum of 1 minute polling intervals? That&#x27;s a pretty long time for what should be streaming data, no? If the data has no need to be real-time then why stream it?<p>Might want to fix the Heartbeat icon link by the way, it currently links to <a href="https:&#x2F;&#x2F;heartbeat.appbase.io&#x2F;heartbeat.appbase.io" rel="nofollow">https:&#x2F;&#x2F;heartbeat.appbase.io&#x2F;heartbeat.appbase.io</a>
评论 #12218682 未加载
评论 #12218975 未加载
doublerebel将近 9 年前
Well, I can certainly see the usefulness. I just had a need this past week, but don&#x27;t mind running my own Node instance. Here&#x27;s sseries-of-tubes, a Nodejs library I wrote to turn any Express&#x2F;Connect route (or anything you can poll) into a Server Sent Events stream:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;nextorigin&#x2F;sseries-of-tubes" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nextorigin&#x2F;sseries-of-tubes</a><p>Pretty fast for you guys to turn it into a service already. What are you using on the backend? Node makes it really easy.
评论 #12220024 未加载
PCaponetti将近 9 年前
Why don&#x27;t more web guys use MQTT for pub&#x2F;sub live data? I saw the PubSubHubBub in the comments already, but most devs are still shoe-horning HTTP into solutions that really aren&#x27;t request&#x2F;response based
评论 #12219333 未加载
评论 #12219511 未加载
LeonM将近 9 年前
Looks neat, but I can&#x27;t really think of a real world application for it other than some debugging of API&#x27;s. It&#x27;s basically polling-as-a-service. The hashtag about the real time web is a joke, right?<p>Please, don&#x27;t turn it into some kind of SAAS, that would ruin everything. I&#x27;d be willing to pay a license fee on a stand-alone app, not a monthly fee on a tool I&#x27;d use once every few months.
评论 #12220452 未加载
评论 #12224590 未加载
评论 #12219036 未加载
SmellTheGlove将近 9 年前
This is very cool, thank you for sharing. I wish I could demo, but my current work is such that I really can&#x27;t expose my endpoints&#x2F;data to a 3rd party (financial services&#x2F;PII type work). That said, pretend I could provided we had appropriate security - tell me about the security involved.
评论 #12224558 未加载
simonpure将近 9 年前
Reminds me of PubSubHubbub but using streams instead of webhooks for updates - <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;PubSubHubbub" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;PubSubHubbub</a>
altharaz将近 9 年前
Hey, that&#x27;s a cool service.<p>Is that different from <a href="http:&#x2F;&#x2F;streamdata.io&#x2F;" rel="nofollow">http:&#x2F;&#x2F;streamdata.io&#x2F;</a> ?