It seems someone on the forum has made a solution. Although his is based on symfony 1.0 with the sfPropel13Plugin, it looks usable...
http://forum.symfony-project.org/index.php/t/12914/ alvaro schreef: > Sorry, I miss understood your email > > Maybe you can check inside sfDatabaseConfigHandler > > And the generated code in the cache for the databases.yml file > > Regards, > > Alvaro > > On Feb 18, 2009, at 9:24 PM, Bert-Jan wrote: > >> I've seen that one but I'm using symfony 1.2 with propel 1.3. >> The support I need is built into propel 1.3, but the docs of course >> explain only how to configure it with it's own runtime-conf.xml, and >> I can't find any matching symfony documentation for putting the same >> information into databases.yml. >> >> >> alvaro schreef: >>> 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 -~----------~----~----~----~------~----~------~--~---
