this is a very strange question. Because the original server often peak time 502, and then watch top because mysql occupies a very high CPU resources, and then want to make the database remote so that the load separation bar.
now that the database is remote, the original server during the peak period is still very high. From the top point of view, there are many php-fpm processes, of which one php-fpm accounts for a relatively high proportion of
cpu.
what"s strange is that the remote database server has almost no load at all.