Inspired by the benchmark in this post, we decided to run some NDB vs Galera benchmarks for ourselves.
We confirmed that NDB does not perform well using m1.large instances. In fact, it’s totally unacceptable - no setup should ever have a minimum latency of 220ms - so m1.large instances are not an option. Apparently the instances get CPU bound, but CPU utilization never goes above ~50%. Maybe top/vmstat can’t be trusted in this virtualized environment?
So, why not use m1.xlarge instances? This sounds like a better plan!
As in the original post, our dataset is 15 tables of 2M rows each, created with:
./sysbench --test=tests/db/oltp.lua --oltp-tables-count=15 --oltp-table-size=2000000 --mysql-table-engine=ndbcluster --mysql-user=user --mysql-host=host1 prepare
Benchmark against NDB was executed with:
…
[Read more]