I’m not sure how I didn’t see this earlier, but it looks like MySQL 5.1 is coming with a load balancer for replicated servers. I’m absolutely pumped about this – we’ve got a few sites running with multiple db slaves and it’s so annoying having to check if they’re behind the master.

It looks like the load balancer will automatically pull slaves out if they fall behind, and route connections to the ones that are the most up to date. It is based on MySQL Proxy, which is currently in Alpha.

MySQL Load Balancer

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
 

2 Responses to MySQL Load Balancer

  1. mike says:

    this is EXACTLY what i’ve been waiting for.

    it is getting damn close to allowing for transparent replication! sweet. i’ve been hoping someone uses mysql proxy and then adds some replication smarts on top of it. now if they can just make replication heal itself on the failed nodes, pass healthcheck and be put back into the pool… we’ve got an awesome solution…

  2. Kevin Burton says:

    you’ve had it for more than two years now :-)

    http://code.tailrank.com/lbpool

    … at least if you use Java.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>