MySQL JDBC Load Balancing with MySQL Cluster
November 28, 2008
Here's a neat tip posted by Henrik Ingo from the MySQL Telecom Team
It's not really properly documented in the manual part, but I found in the changelogs, and confirmed on IRC that to do load-balancing across the SQL nodes in MySQL Cluster, you would use a different JDBC connection string with the "loadbalance" keyword added...
jdbc:mysql:loadbalance://host-1,host-2,...host-n/database?loadBalanceBlacklistTimeout=5000
Tweet
Related Entries
- Multiple Statements with MySQL and JDBC - May 16, 2005
Trackbacks
Trackback Address: 684/3EFF38C979A69DFD01019743AC7ACD9B
Comments
On 11/28/2008 at 2:16:15 PM EST O?uz Demirkap? wrote:
1
Thanks Pete.
Great tip!
On 12/22/2011 at 12:14:58 AM EST Manuel Galgana wrote:
2
Is there any way I can use that loadbalance when I am using XaDatasource?
Post a Comment
Recent Entries
- Writing Secure CFML cfObjective 2013 Slides
- Upgrading to Java 7 on Linux
- J2EE Sessions in CF10 Uses Secure Cookies
- Learn about ColdFusion Security at cfObjective 2013
- Session Loss and Session Fixation in ColdFusion
- FuseGuard 2.3 Released
- CKEditor Spell Checker Plugin
- Adobe Says Go Ahead and Upgrade your ColdFusion JVM


add to del.icio.us


