A quick look at ProxySQL
There is a lot of buzz in the MySQL community around ProxySQL, an open-source SQL-aware proxy. I was lucky enough to give a ProxySQL Tutorial at PerconaLive Amsterdam 2016 with the creator of ProxySQL, René Cannaò.
Some of ProxySQL’s features include:
- Query rules based on Google’s RE2-style regex
- Failover detection
- Connection multiplexing
ProxySQL’s approach to implementing regex-style query rules opens the door to some pretty fascinating possibilities. Just to name a few examples:
- Read/write splitting between the write master and read slaves
- Query firewall, for those times you wish you could prevent queries from hitting the database. Perhaps you are …