RethinkDB 2.0 候选版本发布,分布式数据库
RethinkDB 2.0 发布候选版本,并可以进行测试。RethinkDB 2.0 旨在让快速建立和缩放实时应用程序更加容易,而2.0版本是其重要的里程碑。除了性能和稳定性上的改进,2.0版本还包括了一些值得关注的新特点,以补充 我们在1.16版本中引入的实时功能:
-     Support for attaching a changefeed to the get_all command. 
-     Support for attaching a changefeed to the union command. 
-     Optional EventMachine integration for performing asynchronous queries in the Ruby driver. 
-     Optional Tornado integration for performing asynchronous queries in the Python driver. 
-     A new feature in the cursor API that supports consuming the next element in a stream without blocking. 
Source:http://rethinkdb.com/blog/2.0-release-candidate/
关于 RethinkDB
RethinkDB 设计用来存储 JSON 文档的分布式数据库,可通过简单操作实现多机分布式存储。支持表的联合和分组查询。
    
 
特点:
简单编程模型
-     JSON 数据模型和一致性 
-     分布式联合查询、子查询、聚合查询和原子更新操作 
-     Hadoop 风格的 map/reduce. 
轻松管理
-     提供友好的 Web 和命令行管理工具 
-     服务器和网络故障时的谨慎处理 
-     多数据中心复制和故障转移 
水平伸缩
-     数据分片和复制到多个节点 
-     自动化并行查询和分布式查询 
-     通过 MVCC 并发实现无锁操作 
数据插入和查询示例:
r.table('users').insert({'name': 'Slava', 'age': 29 }).run()r.table('users').filter(lambda doc: doc['age'] > 29)).run()