Open qinzuoyan opened 8 years ago
@imzhenyu , do you have better improvements?
There is a configuration for the mutation cache size. You may enlarge the cache size to avoid learning the private log as well in many cases.
Another way is to use RPC + AIO to pipeline log read + private log apply to avoid unnecessary log written on potential secondary's disk.
In our test, we found that the potential secondary learn too slow:
As you can see, the learning process lasts for tens of minutes.
That is:
The reason is:
Improvement suggestion: