Although Read/Write splitting has been used by most large web sites, and many guys told that it could help to improve the performance a lot, I'm still pretty confused about this conclusion:
Whenever write operations are routed to master, all slaves would synchronize the binlogs from master, at an average latency of 0.1s or so, after that, each slave will perform those write operations locally(SQL write queries). What does this read/write splitting differentiate from the solution that write operations are routed to all machines(no master/slave at all), in that case, we even do not have the data inconsistency caused by read/write splitting.
Very grateful~
Whenever write operations are routed to master, all slaves would synchronize the binlogs from master, at an average latency of 0.1s or so, after that, each slave will perform those write operations locally(SQL write queries). What does this read/write splitting differentiate from the solution that write operations are routed to all machines(no master/slave at all), in that case, we even do not have the data inconsistency caused by read/write splitting.
Very grateful~
Comment