niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » MySQL
Announce: LBPool 1.0 beta1 (Load Balancing JDBC Connection Pool)
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Kevin Burton
*nix forums addict


Joined: 06 May 2005
Posts: 61

PostPosted: Wed Jul 19, 2006 8:27 pm    Post subject: Re: Announce: LBPool 1.0 beta1 (Load Balancing JDBC Connection Pool) Reply with quote

There was a thread before about this... this is much better than connector
J's load balancing.

You can take machines out of production, add thhem back in, it's MySQL slave
aware, etc

On 7/19/06, Christopher G. Stach II <cgs@ldsys.net> wrote:
Quote:

Kevin Burton wrote:
Hey Gang.

I wanted to get this out on the list and facilitate some feedback.

http://www.feedblog.org/2006/07/announce_lbpool.html


What does this have over MySQL Connector/J's load balancing?

--
Christopher G. Stach II




--
Founder/CEO Tailrank.com
Location: San Francisco, CA
AIM/YIM: sfburtonator
Skype: burtonator
Blog: feedblog.org
Back to top
Christopher G. Stach II
*nix forums beginner


Joined: 19 Jul 2006
Posts: 1

PostPosted: Wed Jul 19, 2006 2:30 pm    Post subject: Re: Announce: LBPool 1.0 beta1 (Load Balancing JDBC Connection Pool) Reply with quote

Kevin Burton wrote:
Quote:
Hey Gang.

I wanted to get this out on the list and facilitate some feedback.

http://www.feedblog.org/2006/07/announce_lbpool.html


What does this have over MySQL Connector/J's load balancing?

--
Christopher G. Stach II

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql@m.gmane.org
Back to top
Kevin Burton
*nix forums addict


Joined: 06 May 2005
Posts: 61

PostPosted: Wed Jul 19, 2006 5:35 am    Post subject: Announce: LBPool 1.0 beta1 (Load Balancing JDBC Connection Pool) Reply with quote

Hey Gang.

I wanted to get this out on the list and facilitate some feedback.

http://www.feedblog.org/2006/07/announce_lbpool.html

I CC'd both lists because this might be of interest to the larger MySQL
community as the techniques I used here could be implemented in other
languages.

==========

The lbpool project provides a load balancing JDBC driver for use with DB
connection pools. It wraps a normal JDBC driver providing reconnect
semantics in the event of additional hardware availability, partial system
failure, or uneven load distribution. It also evenly distributes all new
connections among slave DB servers in a given pool. Each time connect() is
called it will attempt to use the best server with the least system load.

The biggest scalability issue with large applications that are mostly READ
bound is the number of transactions per second that the disks in your
cluster can handle. You can generally solve this in two ways.

1. Buy bigger and faster disks with expensive RAID controllers.
2. Buy CHEAP hardware on CHEAP disks but lots of machines.

We prefer the cheap hardware approach and lbpool allows you to do this.

Even if you *did* manage to use cheap hardware most load balancing hardware
is expensive, requires a redundant balancer (if it were to fail), and seldom
has native support for MySQL.

The lbpool driver addresses all these needs.

The original solution was designed for use within MySQL replication
clusters. This generally involves a master server handling all writes with a
series of slaves which handle all reads. In this situation we could have
hundreds of slaves and lbpool would load balance queries among the boxes. If
you need more read performance just buy more boxes.

If any of them fail it won't hurt your application because lbpool will
simply block for a few seconds and move your queries over to a new
production server.

While currently designed for MySQL this could easily be updated to support
PostgresQL or any other DB that supports replication.


--
Founder/CEO Tailrank.com
Location: San Francisco, CA
AIM/YIM: sfburtonator
Skype: burtonator
Blog: feedblog.org
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Fri Nov 21, 2008 11:05 pm | All times are GMT
navigation Forum index » Databases » MySQL
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Problem with connection rafcio Exim 0 Sat Sep 16, 2006 1:46 pm
No new posts ANNOUNCE: Data-centric PHP framework (GPL) Kenneth Downs PHP 0 Thu Jul 20, 2006 6:11 pm
No new posts Connection refused at /usr/lib/perl5/vendor_perl/5.8.6/Ma... DragonsLord Mandrake 0 Thu Jul 20, 2006 12:44 pm
No new posts Is there a boot loader that can load a file a start up an... christopher.mcrorie@gmail Setup 1 Thu Jul 20, 2006 2:57 am
No new posts [Announce]DataDirect XQuery Webinar Tomorrow (Thursday Ju... datadirectxquery@gmail.co IBM DB2 0 Wed Jul 19, 2006 3:45 pm

Virtual Pets Blog | Car Finance | Western Union Locations | Quality Hosting - Affordable Prices | Auto Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 1.0067s ][ Queries: 20 (0.7077s) ][ GZIP on - Debug on ]