[Catalyst] DBIx::HA
clara resende
clrrsnd at gmail.com
Thu Oct 13 14:48:12 GMT 2011
On Thu, Oct 13, 2011 at 4:31 PM, Peter Edwards <peter at dragonstaff.co.uk>wro=
te:
> >I need to be able to failover between two database backends.
>
> If you are using DBIx::Class it will reconnect stale database handles, so
> as long as your failover uses the same DSN hostname it should just work.
>
That would be nice, but unfortunately it does not work like that over here
(and I cannot do anything about that).
>
>
>> The DBIx::HA seems to be the right tool to that, but how to use it with
>> Catalyst?
>>
>> You can use any database backend you like with Catalyst, check out the
> Model configuration part of the Catalyst manual.
> That particular module needs Apache::DBI so won't be compatible with
> DBIx::Class though.
>
Isn't there another way achieve this, with DBIx-Class, similar to what the
HA module does?
Thanks
Meindert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20111013/5028e=
473/attachment.htm
More information about the Catalyst
mailing list