http://www.linuxidc.com/Linux/2013-04/82712p2.htm
http://keithlan.github.io/2016/06/28/MTS/
http://dev.mysql.com/doc/refman/5.7/en/start-slave.html
https://www.percona.com/blog/2015/01/29/multi-threaded-replication-with-mysql-5-6-use-gtids/
https://www.percona.com/blog/2013/09/13/enabling-crash-safe-slaves-with-mysql-5-6/