RethinkDB on Compose
RethinkDB is a JSON document based, distributed database with an integrated administration and exploration console. The administration view gives control of the cluster’s configuration and a view into its performance. The exploration console and through the API you get access to ReQL, a rich query language, with autocompletion, command history and built in documentation.
RethinkDB already has lock-free concurrency for database access and queries are automatically parallelised and distributed through the cluster. RethinkDB also supports secondary indexes – by field or compounds of fields, arrays or even arbitrary expressions – for better read query performance and the developers have just added geospatial indexes and queries to that mix.
RethinkDB or MongoDB?
RethinkDB and MongoDB are both awesome database options (which is why we offer them), but which one is right for you? Here's a quick break down of both to help you decide.
|Data Access||Unified chainable dynamic query language||Dynamic rich query language|
|Integration||V8 engine||Spidermonkey/V8 engine|
|Access Languages||JSON protocol & 3 official libraries||BSON protocol & 13 official libraries|
|Index Types||Primary key, compound, secondary, geospatial, & arbitrarily computed||Unique (unsharded only), compound, secondary, geospatial, & sparse|
Highly available, autoscaling databases with automatic backups30 Free Days, Unlimited Deployments