6 comments

[ 2.4 ms ] story [ 37.9 ms ] thread
Haha, I love some of these talking heads.
Nice, a HN-Share button. Is it me, or is this a new thing?
Whatever that is, it looks almost guaranteed to send a post straight to the bad dog box.

We took the voting ring penalty off this story because we hate to see good work get penalized on HN. But please, everybody, don't get people to upvote your posts! It mostly backfires.

Hey guys, I'm David, one of the founders of Dextro. Happy to answer any questions about how we got this to work technically!

At a high level, here's how we did it: 1) We're using the Twitter Streaming API to find every publicly accessible live-stream. 2) We extract the live stream using a version of PhantomJS that still supports Flash. 3) Each live stream is being sent to Dextro's livestream API endpoint, which streams back chunked JSON of what's happening in the stream in real time. (Check out some low level outputs at http://b.fastcompany.net/multisite_files/fastcompany/imageca...) 4) The results are aggregated and sent on a pub/sub socket to each client.

A background task crunches the live data into the "most viewed" and "most streamed" aggregate stats.

Hi David,

That's a neat little explanation of how the system works underneath. Would you like to explain it in a quick little casual video on http://GlitchClub.com so we can see?