954,315 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Load balancing

This is probably a dumb question:o but how does one do load balancing among multiple database servers? How are the servers constantly kept in sync? With the data that must constantly be exchanged to keep them in sync, is it even worth having load balancing? It seems to me that it would take double the amount of time to do a database write, but half the amount of time to do a database read.

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

I believe what you are looking for is SQL Replication, it does take a little bit longer to write, but if you get to the point where one server can not handle the ammount of read/writes then you *need* to have additional servers to space out the reads etc.

blud
Linux Reject
Staff Writer
830 posts since Apr 2004
Reputation Points: 154
Solved Threads: 20
 

Here is the recent book purchase I made on MySQL Replication:
http://www.amazon.com/exec/obidos/tg/detail/-/0782141625/qid=1102017108/sr=8-7/ref=sr_8_xs_ap_i7_xgl14/002-1355426-1287257?v=glance&s=books&n=507846

So far I'm about half way through it, I'll let you know my opinion once I finnish it.

blud
Linux Reject
Staff Writer
830 posts since Apr 2004
Reputation Points: 154
Solved Threads: 20
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You