Home » Performance » MySQL » Mysql Replication with write forwarding?
Mysql Replication with write forwarding? [message #2261] Fri, 23 November 2007 05:23 Go to previous message
al.james  is currently offline al.james
Messages: 16
Registered: October 2006
Junior Member
Hi there...

Just a quick question.

It occurs to me that the largest change required in a typical application when scaling from single mysql server to multiple servers in a replicated environment, is enforcing that database reads go to the slave whilst database writes go to the master. Most web application frameworks maintain a single database connection, and it can be alot of work to go through the code and open another whenever a write occurs.

Is there anyway of telling a mysql slave server to pass all write operations up to its master (or the top master in the case of multi level replication)?

This would be great as there would be no changes required, I just change the config file of the slave to forward all writes to its master. 5 mins, tops...

Is this possible?

Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Performance check
Next Topic:Performance metrics
Goto Forum:

  



Current Time: Fri Dec 5 11:43:09 EST 2008

Total time taken to generate the page: 0.01261 seconds
.:: Contact :: Home :: MySQL Support by Percona.com ::.

Powered by: FUDforum 2.7.5.
Copyright ©2001-2006 FUD Forum Bulletin Board Software

MySQL Performance | Forum authority Badge