Mysql – Is thesql-proxy ready for production use

MySQLPROXY

I've been doing a bit of research, and I would love to use mysql-proxy in production, because

  1. It supports sockets
  2. 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

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.

Related Topic