Clustering RethinkDB
Clustering in RethinkDB's context refers to the ability of several server or instances to support a single database. An instance can be a database process on the same machine as other RethinkDB instances, or it can be a completely different and separate server.
Clustering offers three major advantages especially in databases with large datasets:
- Data scalability
- Fault tolerance
- Load balancing
As we have seen in the previous sections, clustering solves the increasing data volume problem as it allows us to store large quantities of data in multiple instances. This is because a single machine has limited capacity.
Clustering also provides us with additional fault tolerance; that is, in the event that a software component fails, a backup component or procedure can immediately take place; in fact, in a clustered environment, because there is more than one instance for the client to connect to, there will always be an alternative endpoint for the client in the event of an...