It's been incoming for a while now, but our friends at RethinkDB have now released RethinkDB 2.0 into the world and ready for production. RethinkDB is a major milestone for the database as the developers have now declared RethinkDB itself as production ready. Over the last 16 releases of RethinkDB 1.x, the developers and the community around RethinkDB have incorporated more than 2000 improvements as they have worked toward production ready status. We discussed one of them recently, the enhanced changefeeds and
changes command in version 1.16, in this article as it is quite a special feature to see in a database.
For 2.0, they've built on that with support for changefeeds on the
union commands, adding to the ways you can get realtime updates from the database pushed to you. As important, in modern applications, is the ability to consume those feeds asynchronously and 2.0 will see this being addressed in the Ruby and Python drivers – Ruby with EventMachine and Python with Tornado.
Also added as part of the realtime enhancements is a non-blocking
cursor.next() operation, support for running multiple queries on a connection and a newly consolidated set of return types. Together, these features should make it easier than ever to create responsive web applications with real-time data feeds from a RethinkDB cluster.
There are, of course, numerous other improvements and fixes which the release notes summarise, complete with issue numbers so you can dig deeper.
We're already working on bringing RethinkDB 2.0 on to the Compose platform and it should be available in the very near future, along with some of our own enhancements to make RethinkDB even more accessible.