Re:Video Streaming with RethinkDB Changefeeds
by StavrosK on Saturday March 21, 2015 @12:28PM
(#9243185)
Sorry, I was asking about the way the changefeed feature is meant to be used, not about this demo specifically.
[ Parent
| on HN ]
Re:Video Streaming with RethinkDB Changefeeds
by habitue on Saturday March 21, 2015 @01:21PM
(#9243406)
Changefeeds are for getting updates to the results of queries on the database. So for example, getting the top 5 users ordered by their score. The app leaves a connection open to the database, and the database pushes changes to the query results whenever they happen.
The app can then also have a persistent websocket connection or whatever to the client, so you're able to get push architecture all the way from the data source to the client.