lp:~ramon-van-alteren/mysql-proxy/funnel-private-backend
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
Branch merges
- nickloeve: Pending requested
- Diff: None lines
Branch information
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 - 659. By nick <nick@nick>
-
decrement no_of_frontend_
connections when necessary and add totalClients to stats - 657. By nick <nick@nick>
-
add the ability to push to the head of the backlog, and do that for new connections
- 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)