Parallel replication is in MariaDB 10.0. I did some benchmarks on the code in 10.0.9. The results are quite good! Here is a graph that shows a 10-times improvement when enabling parallel replication:
The graph shows the transaction per second as a function of
number of slave worker threads, when the slave is executing
events from the master at full speed. The master binlog was
generated with sysbench oltp.lua. When the binlog is enabled on
the slave and made crash-safe (--sync-binlog=1
--innodb-flush-log-at-trx-commit=1), the slave is about
ten times faster at 12 worker threads and above compared to the
old single-threaded replication.
These results are for in-order parallel replication. With in-order, transactions are committed on the …
[Read more]