perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hedges <hed...@scriptdolphin.org>
Subject Re: Deployment strategies...
Date Fri, 27 Feb 2009 20:06:27 GMT


On Fri, 27 Feb 2009, Carl Johnstone wrote:

> Perrin Harkins wrote:
>
> > I've heard people say that DBIx::Class has a slow startup,
> > so if you use that you might look there first.
>
> We do, I'll look.

If you're loading the schema from the database instead of
defining it from all the modules, it helps to do this in a
startup script so the schema loader class gets cloned to
kids after figuring out all the table relationships.

> On Thu, Feb 26, 2009 at 12:38 PM, Carl Johnstone
> <modperl@fadetoblack.me.uk> wrote:
> > 1) We want to run different versions of the same app for
> > different sites - this means I have a namespace problem
> > for MyApp v1 vs MyApp v2 etc.
>
> This has been discussed many times on the list.  You can't
> run two modules with the same name in the same perl
> interpreter, so you either need to change the namespaces
> for different versions or run separate servers.

What about PerlOptions +Parent?
http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_

Mark

Mime
View raw message