Re:What's coming up for RethinkDB in 2015 [video]
by nodesocket on Wednesday January 14, 2015 @08:22PM
(#8890353)
Really cool, instead of polling for changes, RethinkDB will push. The best part, you simply add .changes() to your query and it just magically works. Curious though how the clients work? Do they just block waiting for data?
[ Parent
| on HN ]
Re:What's coming up for RethinkDB in 2015 [video]
by timmaxw on Wednesday January 14, 2015 @08:33PM
(#8890391)
The Ruby and Python clients will block if you try to fetch the next change and there isn't one available. You can prevent this by using a separate thread for the blocking request. The node.js client uses a callback.
We're currently considering alternatives. See <https://github.com/rethinkdb/rethinkdb/issues/3298>.
Re:What's coming up for RethinkDB in 2015 [video]
by nodesocket on Wednesday January 14, 2015 @08:36PM
(#8890399)
And any support planned for the red-headed stepchild php?
Re:What's coming up for RethinkDB in 2015 [video]
by danielmewes on Wednesday January 14, 2015 @08:41PM
(#8890421)
Have you tried http://php-rql.dnsalias.net/ ? It's pretty much equivalent to the official drivers, and well maintained (usually gets updated within a week after new RethinkDB releases).