You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assigning to myself, because I've already looked a bit into what will probably be necessary for accomplishing this (the tricky part is the 100k tables by the way, not the 100 machines).
If somebody else is going to take it in the end, please talk to me so I can pass that information on.
Just curious if the table and machine sizes are coupled? I'm looking at using rethinkdb for a project, and would like to scale it out horizontally over N number of machines, but the total number of tables might be relatively stable. So, 100 (or 100+) nodes would be important to me, but 100,000 tables, not so much.
the theoretic overhead for changing the cluster configuration (e.g. creating a table, resharding etc.) grows in O(n^2 * s) where n is the number of nodes in the cluster, and s is the number of shards (which is roughly equivalent to the number of tables).
Unless you have a very large number of nodes, the overhead for an additional table is usually higher than the one for an additional node though (the quadratic component kicks in much later).
If you have a small number of tables (say less than 10), scaling to more than 100 nodes is probably possible with RethinkDB version 1.12, which we will soon release.
I'm saying probably because we have not actually tested clusters with more than 64 nodes. We plan to do these tests at some point, but it might have to wait for the LTS release a couple of months from now.
Activity
danielmewes commentedon Jan 24, 2014
Assigning to myself, because I've already looked a bit into what will probably be necessary for accomplishing this (the tricky part is the 100k tables by the way, not the 100 machines).
If somebody else is going to take it in the end, please talk to me so I can pass that information on.
wiremine commentedon Mar 2, 2014
Just curious if the table and machine sizes are coupled? I'm looking at using rethinkdb for a project, and would like to scale it out horizontally over N number of machines, but the total number of tables might be relatively stable. So, 100 (or 100+) nodes would be important to me, but 100,000 tables, not so much.
danielmewes commentedon Mar 2, 2014
Hi @wiremine,
the theoretic overhead for changing the cluster configuration (e.g. creating a table, resharding etc.) grows in O(n^2 * s) where n is the number of nodes in the cluster, and s is the number of shards (which is roughly equivalent to the number of tables).
Unless you have a very large number of nodes, the overhead for an additional table is usually higher than the one for an additional node though (the quadratic component kicks in much later).
If you have a small number of tables (say less than 10), scaling to more than 100 nodes is probably possible with RethinkDB version 1.12, which we will soon release.
I'm saying probably because we have not actually tested clusters with more than 64 nodes. We plan to do these tests at some point, but it might have to wait for the LTS release a couple of months from now.
wiremine commentedon Mar 3, 2014
@danielmewes Great, thanks for the explanation!
nchiring commentedon Apr 18, 2015
+1
kvz commentedon Sep 25, 2016
I was wondering if these 64+ machines tests have been done and if there are some findings / recommendations / limitations shared somewhere?