OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
(patch) MySQL load balancing

From: Leandro Santi (lesantiuolsinectis.com.ar)
Date: Mon Jun 09 2003 - 10:08:37 CDT


Hi,

I've implemented some primitive load balancing capability into
Postfix's MySQL driver. With this, the Postfix system can dispatch
the SQL queries in round-robin fashion if multiple MySQL backends
are available. The connection-query-disconnection related code has
been cleaned up as well, its hopefully more readable, at least for
me.

http://webs.sinectis.com.ar/lesanti/postfix/postfix-2.0.10-dict_mysql_round_robin.patch

Note: I'm not using this in production boxes yes, so be careful! :)

Feedback appreciated.

Thanks,
Leandro