facebook / mysql-5.6

Facebook's branch of the Oracle MySQL database. This includes MyRocks.
http://myrocks.io
Other
2.48k stars 712 forks source link

How to achieve ~20% replication throughput improvement using Read Free Replication (RFR) feature #1301

Open hanxu12 opened 1 year ago

hanxu12 commented 1 year ago

Background

Setup

Result

  1. It takes each replica around 220s to catch up with ~10000 updates on the server. So the replication throughput is ~45 updates/s, which is far less as compared to 5600-6800 row_updated/s.
  2. By generating different workload, usually I can only achieve ~1-3% throughput improvement. Is there anything wrong with my setup?