OSEC

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

Victor.Duchovnimorganstanley.com
Date: Wed Jun 11 2003 - 14:01:39 CDT


On Wed, 11 Jun 2003, Leandro Santi wrote:

> Oh. But... what about the proxymap? If someone uses the proxymap as a way
> to save lots of MySQL connections, then the coin method can have somewhat
> poor fairness performance (because the number of processes won't be
> always high enough -statistically speaking, of course-).
>

If you have multiple database machines, your probably have multiple MTA
machines... I have biased LDAP server selection, because LDAP does not
support coin-tossing, but coin tossing should work moderately well. The
order could be configurable (strict or random).

As for multi-servers. I do have a working multi-server lifetime patch,
that avoids the starvation problem of my original proposal by draining at
most one instance of each service at a time. Wietse did you ever look at
that variant of the code?

--
        Viktor.