http://groups.google.com/group/cake-php/browse_thread/thread/58ea010f930fab6c/fdff3040db8f9cf6?lnk=gst&q=nate+master+slave#fdff3040db8f9cf6

Or if that doesn't work, search this group for "nate master slave".
Basically just set the $useDbConfig in the beforeSave / beforeFind /
beforeDelete to cause those queries to go to the right database
connection.


On Nov 21, 12:24 pm, Mike Lewis <[EMAIL PROTECTED]> wrote:
> I saw a post about setting up one slave server (http://
> groups.google.com/group/cake-php/browse_thread/thread/58ea010f930fab6c/
> df64d493b24d5a67?lnk=gst&q=master+slave+mysql&rnum=1), but I'm
> assuming thats not how you set up multiple slave servers. Quoting 
> fromhttp://www.alertra.com/article446.php:
>
> "If necessary, set up multiple slave servers all replicating from the
> same master. Design your application to distribute SELECT queries
> across all available slaves in some type of rotating or random
> fashion. Once this basic infrastructure is in place, you can simply
> add more slaves as query volume increases."
>
> Is there a simple way of doing this in CakePHP?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to