MySQL Forums
Forum List  »  NDB clusters

Re: Dealing with a Mysql server (not node) failure
Posted by: Anton Aleksandrov
Date: July 12, 2005 06:09AM

either you write your own load balancer for your application, something like this:
api_nodes = array(hostA, hostB, hostC)
connect_to = api_nodes[rand(0,3)]
connect(connect_to)

or you also can use some simple round-robin load balancer. Here is one of them: http://www.inlab.de/balance.html

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Dealing with a Mysql server (not node) failure
1694
July 12, 2005 06:09AM


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.