You can use this plugin:

http://www.symfony-project.org/plugins/tncPropel12LoadbalancerPlugin

We use this with success in our company to load balance some databases.

More info on the plugin here:

http://www.thenetcircle.com/blog/2008/11/20/database-load-balancing-with-propel-12/

Regards,

Alvaro


On Feb 18, 2009, at 5:49 PM, Bert-Jan wrote:

>
> I've been looking around the net for some documentation on the current
> status of replication support in symfony 1.2 with propel 1.3.
>
> The docs on their wiki are quite clear..
> http://propel.phpdb.org/trac/wiki/Users/Documentation/1.3/Replication
>
> In the runtime-conf.xml you can specify a <slaves> section and propel
> takes care of the rest. Read queries are sent to a random slave, write
> queries are sent to the master. That's exactly how I want it to work.
>
> I found this thread on the forum, but it's about the propel 1.3 plugin
> for symfony 1.0, which is my previous setup, although I wasn't using
> replication at that time:
> http://forum.symfony-project.org/index.php/m/51845/?srch=replication
>
> A more recent reference to that same thread doesn't include anything  
> new
> either...
> http://forum.symfony-project.org/index.php/m/71153/
>
> Does someone know the current status of this?
>
>
> Thanks,
>
> Bert-Jan de Lange
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to