Your master runs in parallel, and your subordinate runs it in sequence. If your master can handle 1.5 hours of attachments / updates / executions in 1 hour, your subordinate will be behind.
If you cannot find ways to improve the write performance of your slave device (more memory, faster disks, delete unnecessary indexes), you have imposed a restriction on the architecture of your applications. In the end, you will find yourself at a point where you cannot make changes in real time as fast as your wizard can execute them in parallel.
Many large sites scald their databases: consider splitting your master + slave into multiple master + slave clusters. Then divide your customer base into these clusters. When the subordinate begins to lag, you need to add another cluster.
It's not cheap, but if you can't find a way to do binlog replication operations in parallel, you probably won't find a better way to do this.
Update (2017) . MySQL now supports parallel workflow threads . There are many more variables that will make the slave device lag, but the slaves no longer need to write in sequential order. The choice of preserving the fixing order of parallel slave flows is an important option if it is important that the exact state of the slave at any time is critical.
Gary richardson
source share