RethinkDB vs TiDB: What are the differences?
Developers describe RethinkDB as "JSON. Scales to multiple machines with very little effort. Open source". RethinkDB is built to store JSON documents, and scale to multiple machines with very little effort. It has a pleasant query language that supports really useful queries like table joins and group by, and is easy to setup and learn. On the other hand, TiDB is detailed as "A distributed NewSQL database compatible with MySQL protocol". Inspired by the design of Google F1, TiDB supports the best features of both traditional RDBMS and NoSQL.
RethinkDB and TiDB can be categorized as "Databases" tools.
Some of the features offered by RethinkDB are:
- JSON data model and immediate consistency.
- Distributed joins, subqueries, aggregation, atomic updates.
- Secondary, compound, and arbitrarily computed indexes.
On the other hand, TiDB provides the following key features:
- Horizontal scalability
- Asynchronous schema changes
- Consistent distributed transactions
RethinkDB and TiDB are both open source tools. It seems that RethinkDB with 22.4K GitHub stars and 1.74K forks on GitHub has more adoption than TiDB with 19.6K GitHub stars and 2.85K GitHub forks.