×
  • Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
 

Load Balancing for PHP and MySQL

by Senior Software Engineer at Oracle on Dec 23, 2011

  • 14,790 views

Anybody stepping up from a single MySQL server to any kind of cluster made of MySQL servers (MySQL Cluster, MySQL Replication, home-grown sharding and 3rd party) has to load balance connections. ...

Anybody stepping up from a single MySQL server to any kind of cluster made of MySQL servers (MySQL Cluster, MySQL Replication, home-grown sharding and 3rd party) has to load balance connections. Different approaches are compared to the free and open source PECL mysqlnd_ms PHP mysql plugin: application based, proxy based and driver based. It turns out that a driver based solution makes a very good system architecture. Its fault tolerant, it scales well, it requires no or little application changes and its a natural fit for PHP deployments. And, of course, it works with all PHP MySQL applications running on PHP 5.3 or newer using any of the three PHP MySQL APIs (mysql, mysqli, PDO_MySQL). Check it out.... in the slides and download PECL mysqlnd_ms for a test drive. Even if you don't go for PECL mysqlnd_ms this presentation is helpful as it gives hints on choosing an architecture.

Statistics

Views

Total Views
14,790
Views on SlideShare
7,754
Embed Views
7,036

Actions

Likes
10
Downloads
124
Comments
0

20 Embeds 7,036

http://blog.ulf-wendel.de 5640
http://www.planet-php.net 1074
http://planet-php.org 113
http://www.planet-php.org 68
http://localhost 53
http://www.btekd.com 18
http://php5.planet-php.org 14
http://www.newsblur.com 12
http://translate.googleusercontent.com 10
http://www.hanrss.com 9
http://planet-php.net 5
http://www.phpeye.com 4
http://www.blog.ulf-wendel.de 3
http://www.mefeedia.com 3
http://127.0.0.1 3
http://blog.planet-php.org 2
http://a0.twimg.com 2
http://webcache.googleusercontent.com 1
http://paper.li 1
http://www.rssgeni.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via SlideShare as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
Post Comment
Edit your comment