For applications where Feature Store's performance and scalability is paramount we give users the option to create clusters with Managed RonDB. You don't need to worry about configuration as hopsworks.ai will automatically pick the best options for your setup.
To setup a cluster with RonDB, click on the
Enable checkbox during cluster creation. If you don't see this option contact us.
If you enable Managed RonDB you will see a basic configuration page where you can configure the database nodes.
First, you need to select the number of Data nodes. These are the database nodes that will store data. The number of Datanodes is dependent on the number of replicas. For most applications 2 Datanodes will suffice with memory optimized instance type. Local storage is not very important as RonDB is an in-memory database but it has to be big enough for offline storage of recovery data.
Next you can configure the number of MySQLd nodes. If you have a specific use-case where you expect high load on MySQL servers, such as a custom streaming application performing SQL queries in short interval, then you can add more. In a general use-case you can go with zero, cluster's Head node already comes with a MySQL server.
In this section you can change advanced settings of RonDB. Proceed only if you know what you are doing.
Number of replicas#
RonDB is a distributed in-memory database. To provide high-availability RonDB replicates data on different node groups. The
default number of replicas is 2 which covers most of the cases. If you change this value, you must change the number of
Datanodes accordingly. The number of Datanodes configured in the
Basic tab should be evenly divisible by the numer of replicas.
API nodes are specialized nodes which can run user code connecting directly to RonDB datanodes for increased performance.
One use-case which might be interesting is to benchmark RonDB. In that case you will need at least one API node and you must select the checkbox which grants access to a benchmark user to specific tables in MySQL.
Once the cluster is created you can view some details by clicking on the
RonDB tab as shown in the picture below.