I've been doing a bit of research, and I would love to use mysql-proxy in production, because
- It supports sockets
- It supports read-write splitting
My other option is to use HAProxy and change all the configuration files to use TCP/IP rather than sockets.
I see that mysql-proxy is STILL in alpha, however there seems to be lots of development on it and it has been around for quite a while.
Can anyone recommend mysql-proxy in production in a high volume environment? Or should I just give up on this idea?
Best Answer
At present, MySQL Proxy is nothing more that just good IP redirection.
@DTest in the DBA StackExchange has addressed MySQL Proxy only twice
Dec 17, 2012
: MySql proxy to replication configurationApr 19, 2012
: What's the latest on MySQL Proxy?Everything that can be customized about MySQL Proxy is only proof-of-concept at the moment. IMHO, the major challenge is the fact that such customization is implemented in the LUA language. The greatest customization most are looking for is the read/write splitting among designated IP Addresses.
If anyone has successfully implemented Read/Write Splitting using MySQL Proxy, I am sure it is being kept as a well-guarded secret by some SuperSmart LUA Programmer/Business Person waiting to sell their consulting services to the highest bidder.