[Dbix-class] Multimaster Failover / Replication

Theo Bot thg.bot at gmail.com
Wed Aug 13 11:26:58 GMT 2014


Peter,

What I have in mind is that you normaly write to a "primary" server , but
when that one is unavailable you start to write to the secondary server.
Like a failover.

Theo


On Tue, Aug 12, 2014 at 4:08 PM, Peter Rabbitson <rabbit+dbic at rabbit.us>
wrote:

> On 07/23/2014 09:13 AM, Theo Bot wrote:
>
>> Hi
>>
>> Hi, I am stuck with a situation where I have two MySQL servers in a
>> multi-master setup. I have to be able to write to both instances. But
>> normally only one is used. Is there a way to use DBIx::Class in this
>> kind of scenario?
>>
>>
> You would write to both instances based on what criteria...? I though in
> multi-master you still write to only one of them...
>
> Please clarify
>
>
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive: http://www.grokbase.com/group/
> dbix-class at lists.scsys.co.uk
>



-- 
Met vriendelijke groet,

Theo Bot
Network Management Engineer
Tel: +31653965698
e-mail: theo.bot at proxy.nl
Website: http://www.proxy.nl
LinkedIn: http://www.linkedin.com/in/theobot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20140813/fab44f5e/attachment-0001.htm>


More information about the DBIx-Class mailing list