Re: Useing different database for the different actions

2010-10-28 Thread Okto Silaban
http://bakery.cakephp.org/articles/view/load-balancing-and-mysql-master-and-slaves-2<-- since this link isn't working for Cake > 1.2.x, besides it didn't work for related model neither (from the comment on that article : "If this model is associated with other models using belongsTo, hasMany etc.,

Re: Useing different database for the different actions

2009-03-30 Thread Pippo
Great, Thanks! I guess was searching for the wrong terms. On 30 Mrz., 20:57, Alfredo Quiroga-Villamil wrote: > Yep, even better. > > Tx Martin. > > On Mon, Mar 30, 2009 at 2:54 PM, Martin Westin > > wrote: > > > I think this is what you are looking for > > >http://bakery.cakephp.org/articles/vi

Re: Useing different database for the different actions

2009-03-30 Thread Alfredo Quiroga-Villamil
Yep, even better. Tx Martin. On Mon, Mar 30, 2009 at 2:54 PM, Martin Westin wrote: > > I think this is what you are looking for > > http://bakery.cakephp.org/articles/view/load-balancing-and-mysql-master-and-slaves-2 > > > > > On Mar 30, 6:28 pm, Alfredo Quiroga-Villamil > wrote: >> Pippo: >>

Re: Useing different database for the different actions

2009-03-30 Thread Martin Westin
I think this is what you are looking for http://bakery.cakephp.org/articles/view/load-balancing-and-mysql-master-and-slaves-2 On Mar 30, 6:28 pm, Alfredo Quiroga-Villamil wrote: > Pippo: > > I've never done this or even thought about how to do it; so there > might be a better way to accompli

Re: Useing different database for the different actions

2009-03-30 Thread Alfredo Quiroga-Villamil
Pippo: I've never done this or even thought about how to do it; so there might be a better way to accomplish what you want. Perhaps what I am about to tell you might not be a valid solution; but one thing that comes to mind is the following: Assuming that what you want is to read from one DB and

Useing different database for the different actions

2009-03-30 Thread Pippo
Hi We would like to use scalr.net and amazon webservices in order to be able to scale if we have more and more users. We would like to use one master Database and some slave Databases. The synchronization in between of the different databases will go only in one way, from the master to the slave

Useing different database for the different actions

2009-03-30 Thread Pippo
Hi We would like to use scalr.net and amazon webservices in order to be able to scale if we have more and more users. We would like to use one master Database and some slave Databases. The synchronization in between of the different databases will go only in one way, from the master to the slave