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.

Show HN: Heartbeat – Transform REST Endpoints to Streaming APIs

111 pointsby sidialmost 9 years ago

7 comments

dvccalmost 9 years ago
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 未加载
doublerebelalmost 9 years ago
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 未加载
PCaponettialmost 9 years ago
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 未加载
LeonMalmost 9 years ago
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 未加载
SmellTheGlovealmost 9 years ago
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 未加载
simonpurealmost 9 years ago
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>
altharazalmost 9 years ago
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> ?