MySQL Forums
Forum List  »  Install & Repo

What happened to roundRobinLoadBalance?
Posted by: Nathan Cheng
Date: September 19, 2004 08:51PM

The Connector/J documentation used to have an option called "roundRobinLoadBalance" that supposedly was going to be available starting in version 3.1.2. But now it is gone, and I can only find mention of it on this evidently outdated mirror:

http://altruistic.lbl.gov/mirrors/mysql/doc/connector/j/en/

and here:

http://www-fr.mysql.com/documentation/connector-j/

Perhaps the reason it was taken out is because it was to only work when failoverReadonly is false, which seems to make no sense to me. The right way for a load balance option to work would be to require that failoverReadonly be "true", and then round robin load balance read-only statements among all of the listed hosts, while always sending non-read-only statements to the first listed host (the master). This seems fairly simple to implement at the driver level; its absence forces me to implement this same logic at the application level.

Options: ReplyQuote


Subject
Written By
Posted
What happened to roundRobinLoadBalance?
September 19, 2004 08:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.