[Catalyst] DBIx::HA

Peter Edwards peter at dragonstaff.co.uk
Thu Oct 13 14:31:38 GMT 2011

>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.

> 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.

Regards, Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20111013/cd6ed=

More information about the Catalyst mailing list