Re: R/W splitting. All requests only to write server.
Hello,
I am facing the same issue than Pavel but it's mandatory for me to send each and every read request to the slave which is located in Asia and write request to the master.. No read should be done on the master
I have the version 0.7.2. I have tested with the standard rw-splitting.lua file by changing min_idle_connections from 4 to 0 but no effect :(
I launch the proxy with :
mysql-proxy --pid-file=/var/run/mysql-proxy.pid --proxy-lua-script /share/doc/mysql-proxy/rw-splitting.lua --proxy-read-only-backend-addresses=localhost:3306 --proxy-backend-addresses=master:3306
Does anybody knows a solution ?
Thanks
Subject
Views
Written By
Posted
5570
June 01, 2009 06:15AM
3215
June 01, 2009 09:45AM
4306
June 03, 2009 06:03AM
3185
June 03, 2009 01:11PM
2864
July 01, 2009 07:07AM
Re: R/W splitting. All requests only to write server.
2517
July 09, 2009 01:11AM
4575
July 12, 2009 08:46AM
2843
July 12, 2009 07:44PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.