News for hackers. Stuff that matters.
Re:Show HN: Heartbeat – Transform REST Endpoints to Streamin... by dvcc on Wednesday August 03, 2016 @11:07AM (#12218462)
Looks cool but a minimum of 1 minute polling intervals? That'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?

Might want to fix the Heartbeat icon link by the way, it currently links to https://heartbeat.appbase.io/heartbeat.appbase.io

Re:Show HN: Heartbeat – Transform REST Endpoints to Streamin... by drdaeman on Wednesday August 03, 2016 @11:34AM (#12218682)
> If the data has no need to be real-time then why stream it?

As I get it, it's basically a way to keep request rates low.

Rather than every client polling your server every minute (which can be quite heavy), only one (Heartbeat) does, and the rest just subscribe to Heartbeat streams.

Totally makes sense if you haven't planned a pubsub-based API but notice that your RESTful one is close to being hammered into a pulp - so you need something to give to your clients, fast. But I don't think it make much sense as a long-term solution.

Re:Show HN: Heartbeat – Transform REST Endpoints to Streamin... by sidi on Wednesday August 03, 2016 @12:06PM (#12218975)
We would like to enable a lower polling interval, but wanted to see the general response before doing that.

In fact, we would like to enable:

1. A lambda function support to transform APIs (diffing to only append new data, adding meta data, removing unnecessary fields) before they get streamed.

2. Polling frequencies of up to 1s.

3. Custom domains for the resulting streaming endpoints.

Re:Show HN: Heartbeat – Transform REST Endpoints to Streamin... by mathiasrw on Wednesday August 03, 2016 @05:45PM (#12221792)
Now - THAT - sounds awesome