Live data from Hacker News

We have a real-time API and we're not afraid to use it. Are you?

ducksboard.com

1–10 of 36 posts

Re: We have a real-time API and we're not afraid to use it. Are you?

#4
post #3

After poking around little bit, it appears you need to poll for updates. To clarify, when you say "real-time" you mean "changes are reflected quickly" and not "changes are pushed to clients"?

Nope, we push changes to clients.

The exact workflow is: the initial data is pulled over HTTP, the code connects to our server over WebSockets and after that no more requests are made. The real-time updates are pushed over the WebSocket connection.

Re: We have a real-time API and we're not afraid to use it. Are you?

#6
post #4
post #3

After poking around little bit, it appears you need to poll for updates. To clarify, when you say "real-time" you mean "changes are reflected quickly" and not "changes are pushed to clients"?

Nope, we push changes to clients. The exact workflow is: the initial data is pulled over HTTP, the code connects to our server over WebSockets and after that no more requests are made. The real-time updates are pushed over the WebSocket connection.

Thanks for clarifying. I'm not sure how I missed that when reviewing the example code.

Re: We have a real-time API and we're not afraid to use it. Are you?

#8
post #7

Anyone have any thoughts on how to do the display side of this in VERY low power? Are there cheap android tablets or whatever that might be suitable? I want to do something like this but don't need to consume tons of watts...

We have plans to make an interface that's less bling-heavy and more power-friendly, but it won't hit production anytime soon.

Another way is to simply write your own visualisation. If you're interested in getting early-alpha-unstable-omg access to the read APIs (HTTP and WebSockets), shoot us an email to hello@ducksboard.com

Post reply on HN