Created by Ramon and last modified

The funnel plugin currently proxies auth to get backend connections, this version opens it's own connections and let's the clients use these.

Get this branch:
bzr branch lp:~ramon-van-alteren/mysql-proxy/funnel-private-backend
Only Ramon can upload to this branch. If you are Ramon please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

MySQL Proxy

Recent revisions

661. By ramon <email address hidden>

Added keepalive and keepalive options to client sockets

We're facing a problem were at night when traffic is low the loadbalancer kills any open connections
due to timeout, however both client and server still think this connection is alive.
In the morning, all connections become more active fast, resulting in a mass of new client connections
while the old ones still have open sockets on the mysql-proxyed server.
This results in out-of-socket memory errors and a hungup server.

The code adds keepalive options to the client socket which results in sending a keepalive packet
every 2 minutes. This will ensure that the loadbalancer does not kill the connection

660. By nick <nick@nick>

add better error logging when we encounter old password

659. By nick <nick@nick>

decrement no_of_frontend_connections when necessary and add totalClients to stats

658. By nick <nick@nick>

revert signal handling changes, as it works now... strange

657. By nick <nick@nick>

add the ability to push to the head of the backlog, and do that for new connections

656. By nick <nick@nick>

add backlog time profiling

655. By nick <nick@nick>

make the compiler happy, and stop breakage with -O3

654. By nick <nick@trickie>

cleanup thread before free-ing the data it wants

653. By nick <nick@nick>

fix build on darwin

652. By nick <nick@nick>

handling signals outside of libevent, as I think multiple threads and event_bases's are missing signals

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 with rich root (needs bzr 1.0)
This branch contains Public information 
Everyone can see this information.